aboutsummaryrefslogtreecommitdiff
path: root/git.rc.in
AgeCommit message (Collapse)Author
2024-12-07Makefile: generate "git.rc" via GIT-VERSION-GENPatrick Steinhardt
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>