summaryrefslogtreecommitdiffstats
path: root/Source/cmVersionConfig.h.in
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@gmail.com>2016-07-08 09:40:16 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-14 14:35:58 (GMT)
commitaf0e1cd4cbb7029de0877de9db72ba37085abff2 (patch)
tree6ffd8b3d7093649a00941ff78f9af164217df14f /Source/cmVersionConfig.h.in
parent6a077b5d63895489c2962af2f7302f52444045cc (diff)
downloadCMake-af0e1cd4cbb7029de0877de9db72ba37085abff2.zip
CMake-af0e1cd4cbb7029de0877de9db72ba37085abff2.tar.gz
CMake-af0e1cd4cbb7029de0877de9db72ba37085abff2.tar.bz2
Make CMake version dirty state available to code
Set `CMake_VERSION_IS_DIRTY` to 1 or 0 depending on whether the CMake source tree is considered dirty or not.
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 af5c57b..92abfbe 100644
--- a/Source/cmVersionConfig.h.in
+++ b/Source/cmVersionConfig.h.in
@@ -13,4 +13,5 @@
#define CMake_VERSION_MINOR @CMake_VERSION_MINOR@
#define CMake_VERSION_PATCH @CMake_VERSION_PATCH@
#define CMake_VERSION_SUFFIX "@CMake_VERSION_SUFFIX@"
+#define CMake_VERSION_IS_DIRTY @CMake_VERSION_IS_DIRTY@
#define CMake_VERSION "@CMake_VERSION@"