diff options
Diffstat (limited to 'src/common/scm_rev.cpp.in')
| -rw-r--r-- | src/common/scm_rev.cpp.in | 18 |
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 @@ | |||
| 1 | // Copyright 2014 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "common/scm_rev.h" | ||
| 6 | |||
| 7 | #define GIT_REV "@GIT_REV@" | ||
| 8 | #define GIT_REF_SPEC "@GIT_REF_SPEC@" | ||
| 9 | #define GIT_DESC "@GIT_DESC@" | ||
| 10 | |||
| 11 | namespace Common { | ||
| 12 | |||
| 13 | const char g_scm_rev[] = GIT_REV; | ||
| 14 | const char g_scm_ref_spec[] = GIT_REF_SPEC; | ||
| 15 | const char g_scm_desc[] = GIT_DESC; | ||
| 16 | |||
| 17 | } // namespace | ||
| 18 | |||