diff options
author | ConfuSomu | 2024-01-07 16:15:57 +0100 |
---|---|---|
committer | ConfuSomu | 2024-01-07 16:18:27 +0100 |
commit | 58240fa2e1ac4234cf67374349ce606f1b6df643 (patch) | |
tree | 9e36f4e1b772d770071b4d963a91d2d61baced42 /gen/git_version.h.in | |
parent | aab83a2066b5e8c2172a43b0b1674b21e903d991 (diff) | |
download | ActorViewer-58240fa2e1ac4234cf67374349ce606f1b6df643.tar ActorViewer-58240fa2e1ac4234cf67374349ce606f1b6df643.tar.gz ActorViewer-58240fa2e1ac4234cf67374349ce606f1b6df643.zip |
Use configure_file instead of setting compile defs
This should avoid unnecessary recompiles of the whole project when the
git hash changes and the project is reconfigured.
Diffstat (limited to 'gen/git_version.h.in')
-rw-r--r-- | gen/git_version.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gen/git_version.h.in b/gen/git_version.h.in new file mode 100644 index 0000000..8732171 --- /dev/null +++ b/gen/git_version.h.in @@ -0,0 +1,3 @@ +#pragma once +#cmakedefine GIT_DESCRIBE_TEXT ${GIT_DESCRIBE_TEXT} +#cmakedefine GIT_COMMIT_HASH ${GIT_COMMIT_HASH} |