summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-02-06 11:14:08 -0500
committerGitHub <noreply@github.com>2017-02-06 11:14:08 -0500
commite4c17f126c871adce2d2f70ba9aed9e65a58dbb6 (patch)
tree08739c9049de9731933dc605fb39d48185e94bdb /Source
parent11d1d227da01b03722a0154f003e197155fdfd73 (diff)
parentacc8dae2b33c24ffe6ff445b7ba387c82af10aa2 (diff)
Merge pull request #4835 from ligfx/configurefilescmrev
CMake: use configure_file to generate scmrev.h
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Common/scmrev.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/scmrev.h.in b/Source/Core/Common/scmrev.h.in
new file mode 100644
index 0000000000..6be4c461bb
--- /dev/null
+++ b/Source/Core/Common/scmrev.h.in
@@ -0,0 +1,5 @@
+#define SCM_REV_STR "${DOLPHIN_WC_REVISION}"
+#define SCM_DESC_STR "${DOLPHIN_WC_DESCRIBE}"
+#define SCM_BRANCH_STR "${DOLPHIN_WC_BRANCH}"
+#define SCM_IS_MASTER ${DOLPHIN_WC_IS_STABLE}
+#define SCM_DISTRIBUTOR_STR "${DISTRIBUTOR}"