summaryrefslogtreecommitdiffstats
path: root/src/common/scm_rev.cpp.in
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-24 03:43:57 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-24 03:43:57 +0200
commit4405a53cf3b669e84b1d953d35e89ec29b916293 (patch)
treef6d4370cfce75d9922e75d99c82e1935c6b723c9 /src/common/scm_rev.cpp.in
parentfixes to build on linux (diff)
downloadyuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.gz
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.bz2
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.lz
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.xz
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.zst
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.zip
Diffstat (limited to 'src/common/scm_rev.cpp.in')
-rw-r--r--src/common/scm_rev.cpp.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/common/scm_rev.cpp.in b/src/common/scm_rev.cpp.in
new file mode 100644
index 000000000..9e2bcfdd8
--- /dev/null
+++ b/src/common/scm_rev.cpp.in
@@ -0,0 +1,18 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#include "common/scm_rev.h"
+
+#define GIT_REV "@GIT_REV@"
+#define GIT_REF_SPEC "@GIT_REF_SPEC@"
+#define GIT_DESC "@GIT_DESC@"
+
+namespace Common {
+
+const char g_scm_rev[] = GIT_REV;
+const char g_scm_ref_spec[] = GIT_REF_SPEC;
+const char g_scm_desc[] = GIT_DESC;
+
+} // namespace
+