cmake: determine list of extra built-ins dynamically
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 4 Dec 2020 19:33:56 +0000 (19:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Dec 2020 20:11:07 +0000 (12:11 -0800)
commit7fe07275be5225a942ba8d9725b0c7e0a60d3eb7
treecab36a859888784ae23ecd85b6813f839a8dff0b
parent898f80736c75878acc02dc55672317fcc0e0a5a6
cmake: determine list of extra built-ins dynamically

In 0a21d0e08902 (Makefile: mark git-maintenance as a builtin,
2020-12-01), we marked git-maintenance as a builtin in the Makefile, but
forgot to do the same in `CMakeLists.txt`.

Rather than always play catch-up and adjust `git_builtin_extra`
manually, use the `BUILT_INS` definitions in the Makefile as
authoritative source and generate `git_builtin_extra` dynamically.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/buildsystems/CMakeLists.txt