added scm rev generation on Linux/cmake
This commit is contained in:
parent
7a136b8a84
commit
4405a53cf3
10 changed files with 211 additions and 53 deletions
18
src/common/scm_rev.cpp.in
Normal file
18
src/common/scm_rev.cpp.in
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue