common: Parse Nightly/Canary build version
This commit is contained in:
parent
a50cd37aa6
commit
ddc97b15f4
6 changed files with 34 additions and 14 deletions
|
@ -9,6 +9,8 @@
|
|||
#define GIT_DESC "@GIT_DESC@"
|
||||
#define BUILD_NAME "@REPO_NAME@"
|
||||
#define BUILD_DATE "@BUILD_DATE@"
|
||||
#define BUILD_VERSION "@BUILD_VERSION@"
|
||||
#define BUILD_FULLNAME "@BUILD_FULLNAME@"
|
||||
|
||||
namespace Common {
|
||||
|
||||
|
@ -17,6 +19,8 @@ const char g_scm_branch[] = GIT_BRANCH;
|
|||
const char g_scm_desc[] = GIT_DESC;
|
||||
const char g_build_name[] = BUILD_NAME;
|
||||
const char g_build_date[] = BUILD_DATE;
|
||||
const char g_build_fullname[] = BUILD_FULLNAME;
|
||||
const char g_build_version[] = BUILD_VERSION;
|
||||
|
||||
} // namespace
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue