aboutsummaryrefslogtreecommitdiffstats
path: root/t/unit-tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-06 14:24:40 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-07 07:52:09 +0900
commit9bb10d27e7072cec919d38f0b987c70e598039ad (patch)
tree6205bc645b9a140470614e3dd8b3183f0b8c4703 /t/unit-tests
parentMakefile: propagate Git version via generated header (diff)
downloadgit-9bb10d27e7072cec919d38f0b987c70e598039ad.tar.gz
git-9bb10d27e7072cec919d38f0b987c70e598039ad.zip
Makefile: generate "git.rc" via GIT-VERSION-GEN
The "git.rc" is used on Windows to embed information like the project name and version into the resulting executables. As such we need to inject the version information, which we do by using preprocessor defines. The logic to do so is non-trivial and needs to be kept in sync with the different build systems. Refactor the logic so that we generate "git.rc" via `GIT-VERSION-GEN`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions