aboutsummaryrefslogtreecommitdiff
path: root/src/common/scm_rev.cpp.in
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-01 19:54:24 -0400
committerbunnei <bunneidev@gmail.com>2017-08-03 20:10:37 -0400
commitf44a1e0291ab64ea9f34a9263432f30d18f3e98d (patch)
tree985c56c99da9edd301e96bf27551de33a805a629 /src/common/scm_rev.cpp.in
parent9b8e5bea6619606afe10dfc38b1d8f6a47ba8332 (diff)
common: Add build timestamp to scm_rev.
Diffstat (limited to 'src/common/scm_rev.cpp.in')
-rw-r--r--src/common/scm_rev.cpp.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/scm_rev.cpp.in b/src/common/scm_rev.cpp.in
index 0080db5d5d..4083095d50 100644
--- a/src/common/scm_rev.cpp.in
+++ b/src/common/scm_rev.cpp.in
@@ -8,6 +8,7 @@
#define GIT_BRANCH "@GIT_BRANCH@"
#define GIT_DESC "@GIT_DESC@"
#define BUILD_NAME "@REPO_NAME@"
+#define BUILD_DATE "@BUILD_DATE@"
namespace Common {
@@ -15,6 +16,7 @@ const char g_scm_rev[] = GIT_REV;
const char g_scm_branch[] = GIT_BRANCH;
const char g_scm_desc[] = GIT_DESC;
const char g_build_name[] = BUILD_NAME;
+const char g_build_date[] = BUILD_DATE;
} // namespace