summaryrefslogtreecommitdiffstats
path: root/Source/cmVersionConfig.h.in
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-07-01 07:40:09 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-14 14:27:17 (GMT)
commit6a077b5d63895489c2962af2f7302f52444045cc (patch)
treeb5aff09a578383d9fe1fb7240aed31d1cd74ed54 /Source/cmVersionConfig.h.in
parent7af4bc69c5a7bbc373f704edddeb7d644c809825 (diff)
downloadCMake-6a077b5d63895489c2962af2f7302f52444045cc.zip
CMake-6a077b5d63895489c2962af2f7302f52444045cc.tar.gz
CMake-6a077b5d63895489c2962af2f7302f52444045cc.tar.bz2
Make CMake version suffix available to code
Make the string (e.g. "rc1" or "gSHA-dirty") available to the code.
Diffstat (limited to 'Source/cmVersionConfig.h.in')
-rw-r--r--Source/cmVersionConfig.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVersionConfig.h.in b/Source/cmVersionConfig.h.in
index 16aeabe..af5c57b 100644
--- a/Source/cmVersionConfig.h.in
+++ b/Source/cmVersionConfig.h.in
@@ -12,4 +12,5 @@
#define CMake_VERSION_MAJOR @CMake_VERSION_MAJOR@
#define CMake_VERSION_MINOR @CMake_VERSION_MINOR@
#define CMake_VERSION_PATCH @CMake_VERSION_PATCH@
+#define CMake_VERSION_SUFFIX "@CMake_VERSION_SUFFIX@"
#define CMake_VERSION "@CMake_VERSION@"