summaryrefslogtreecommitdiffstats
path: root/src/rocksdb/util/build_version.cc.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/rocksdb/util/build_version.cc.in')
-rw-r--r--src/rocksdb/util/build_version.cc.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rocksdb/util/build_version.cc.in b/src/rocksdb/util/build_version.cc.in
new file mode 100644
index 000000000..856958018
--- /dev/null
+++ b/src/rocksdb/util/build_version.cc.in
@@ -0,0 +1,5 @@
+// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+#include "build_version.h"
+const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:@@GIT_SHA@@";
+const char* rocksdb_build_git_date = "rocksdb_build_git_date:@@GIT_DATE_TIME@@";
+const char* rocksdb_build_compile_date = __DATE__;