diff options
author | Sven Gothel <[email protected]> | 2022-02-07 14:25:01 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-02-07 14:25:01 +0100 |
commit | cfeee9cca321fe41220f4d91d9d95863a966efd4 (patch) | |
tree | 9f8664d2ae3c8142063e1f0a4862e96f12965df4 /cmake/modules | |
parent | e3c6a5f8858f0e0142f48a84fa250280c2b9f9b4 (diff) |
git version info: Added post-tag: VERSION_COMMITS and VERSION_SHA1_SHORT. VERSION_LONG reflects post-tag and dirty. Added mapping to project version var-names.
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/version.cpp.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/version.cpp.in b/cmake/modules/version.cpp.in index 5398ed0..120cff7 100644 --- a/cmake/modules/version.cpp.in +++ b/cmake/modules/version.cpp.in @@ -1,5 +1,5 @@ #include <jau/version.hpp> -const char* jau::VERSION = "@VERSION@"; -const char* jau::VERSION_SHORT = "@VERSION_SHORT@"; -const char* jau::VERSION_API = "@VERSION_API@"; +const char* jau::VERSION = "@jaulib_VERSION_LONG@"; +const char* jau::VERSION_SHORT = "@jaulib_VERSION_SHORT@"; +const char* jau::VERSION_API = "@jaulib_VERSION_API@"; |