mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 22:37:57 -05:00
added scm rev generation on Linux/cmake
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user