aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/templates
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-23 22:04:50 +0800
committerchriseth <c@ethdev.com>2016-08-26 16:14:44 +0800
commit54ab787b83275fd374b3951ec3efa577c954bd1a (patch)
tree7a8d2e225d8dcf05f070d8223a61bc23efc1872e /cmake/templates
parentd209e65b1d9ce3f49821970e96e027ba5243e386 (diff)
downloaddexon-solidity-54ab787b83275fd374b3951ec3efa577c954bd1a.tar.gz
dexon-solidity-54ab787b83275fd374b3951ec3efa577c954bd1a.tar.zst
dexon-solidity-54ab787b83275fd374b3951ec3efa577c954bd1a.zip
Make versioning semver compatible and force commit hash availability.
Diffstat (limited to 'cmake/templates')
-rw-r--r--cmake/templates/BuildInfo.h.in15
1 files changed, 7 insertions, 8 deletions
diff --git a/cmake/templates/BuildInfo.h.in b/cmake/templates/BuildInfo.h.in
index 6f9baf50..6c16e4ac 100644
--- a/cmake/templates/BuildInfo.h.in
+++ b/cmake/templates/BuildInfo.h.in
@@ -1,11 +1,10 @@
#pragma once
#define ETH_PROJECT_VERSION "@PROJECT_VERSION@"
-#define ETH_COMMIT_HASH @ETH_COMMIT_HASH@
-#define ETH_CLEAN_REPO @ETH_CLEAN_REPO@
-#define ETH_BUILD_TYPE @ETH_BUILD_TYPE@
-#define ETH_BUILD_OS @ETH_BUILD_OS@
-#define ETH_BUILD_COMPILER @ETH_BUILD_COMPILER@
-#define ETH_BUILD_PLATFORM @ETH_BUILD_PLATFORM@
-#define ETH_BUILD_NUMBER @ETH_BUILD_NUMBER@
-#define ETH_VERSION_SUFFIX "@ETH_VERSION_SUFFIX@"
+#define SOL_COMMIT_HASH "@SOL_COMMIT_HASH@"
+#define ETH_BUILD_TYPE "@ETH_BUILD_TYPE@"
+#define ETH_BUILD_OS "@ETH_BUILD_OS@"
+#define ETH_BUILD_COMPILER "@ETH_BUILD_COMPILER@"
+#define ETH_BUILD_PLATFORM "@ETH_BUILD_PLATFORM@"
+#define SOL_VERSION_PRERELEASE "@SOL_VERSION_PRERELEASE@"
+#define SOL_VERSION_BUILDINFO "@SOL_VERSION_BUILDINFO@"