diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-09-10 18:50:18 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-09-10 18:50:18 +0200 |
commit | 35a42fc4379a65a1bd278c98e2d98ce3bb85484f (patch) | |
tree | 9274410e1b775e72c64b7a0ca5652b3333606e0d /src/BuildInfo.h.cmake | |
parent | Merge pull request #1402 from Masy98/Sounds (diff) | |
parent | Added example for how to use version info to travis (diff) | |
download | cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.gz cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.bz2 cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.lz cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.xz cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.zst cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BuildInfo.h.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/BuildInfo.h.cmake b/src/BuildInfo.h.cmake new file mode 100644 index 000000000..6337dab3e --- /dev/null +++ b/src/BuildInfo.h.cmake @@ -0,0 +1,15 @@ + +#pragma once + +#cmakedefine BUILD_ID + +#ifdef BUILD_ID + +#undef BUILD_ID + +#define BUILD_SERIES_NAME "@BUILD_SERIES_NAME@" +#define BUILD_ID "@BUILD_ID@" +#define BUILD_COMMIT_ID "@BUILD_COMMIT_ID@" +#define BUILD_DATETIME "@BUILD_DATETIME@" +#endif + |