summaryrefslogtreecommitdiffstats
path: root/src/common/scm_rev.cpp.in
diff options
context:
space:
mode:
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
+