git/contrib/buildsystems
Johannes Schindelin 9709163687 cmake: generalize the handling of the `CLAR_TEST_OBJS` list
A late-comer to the v2.49.0 party, `sk/unit-test-oid`, added yet another
array item to `CLAR_TEST_OBJS`, causing the `win+VS build` job to fail
with symptoms like this one:

  unit-tests-lib.lib(u-oid-array.obj) : error LNK2019: unresolved
  external symbol cl_parse_any_oid referenced in function fill_array

This is a similar scenario to the one that forced me to write
8afda42fce (cmake: generalize the handling of the `UNIT_TEST_OBJS`
list, 2024-09-18): The hard-coded echo of `CLAR_TEST_OBJS` in
`CMakeLists.txt` that recapitulates faithfully what was already
hard-coded in `Makefile` would either have to be updated whack-a-mole
style, or generalized.

Just like I chose the latter option for `UNIT_TEST_OBJS`, I now do the
same for `CLAR_TEST_OBJS`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-03-06 08:35:08 -08:00
..
Generators win32: add a helper to run `git.exe` without a foreground window 2023-08-09 13:58:13 -07:00
CMakeLists.txt cmake: generalize the handling of the `CLAR_TEST_OBJS` list 2025-03-06 08:35:08 -08:00
Generators.pm contrib/buildsystems: ignore irrelevant files in Generators/ 2019-07-29 14:51:42 -07:00
engine.pl win32: add a helper to run `git.exe` without a foreground window 2023-08-09 13:58:13 -07:00
generate mark Windows build scripts executable 2013-11-25 15:01:22 -08:00
git-version.in Makefile: refactor GIT-VERSION-GEN to be reusable 2024-12-07 07:52:08 +09:00
parse.pl mark Windows build scripts executable 2013-11-25 15:01:22 -08:00