diff options
| author | comex <comexk@gmail.com> | 2013-09-23 01:06:03 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2013-09-24 01:14:56 -0400 |
| commit | 2f384c75d23bb33ae5d382cb673c48f4f09c83a5 (patch) | |
| tree | 7b921571b5baa3fb74aeccd8f6178d322bf41ce6 /Source/Core/Common | |
| parent | 146cf56295cd366d05ab614d38a4627dc987a675 (diff) | |
Only include scmrev.h from Version.cpp.
This way less code has to be rebuilt whenever that file gets
regenerated.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/Common.h | 3 | ||||
| -rw-r--r-- | Source/Core/Common/Src/LinearDiskCache.h | 3 | ||||
| -rw-r--r-- | Source/Core/Common/Src/Version.cpp | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/Common.h b/Source/Core/Common/Src/Common.h index e148b6638c..7db22c2c87 100644 --- a/Source/Core/Common/Src/Common.h +++ b/Source/Core/Common/Src/Common.h @@ -13,7 +13,10 @@ #include <string.h> // SVN version number +extern const char *scm_desc_str; +extern const char *scm_branch_str; extern const char *scm_rev_str; +extern const char *scm_rev_git_str; extern const char *netplay_dolphin_ver; // Force enable logging in the right modes. For some reason, something had changed diff --git a/Source/Core/Common/Src/LinearDiskCache.h b/Source/Core/Common/Src/LinearDiskCache.h index 71ad169530..527dfd7036 100644 --- a/Source/Core/Common/Src/LinearDiskCache.h +++ b/Source/Core/Common/Src/LinearDiskCache.h @@ -9,9 +9,6 @@ #include "Common.h" #include <fstream> -// defined in Version.cpp -extern const char *scm_rev_git_str; - // On disk format: //header{ // u32 'DCAC'; diff --git a/Source/Core/Common/Src/Version.cpp b/Source/Core/Common/Src/Version.cpp index db89a25a82..944cc55906 100644 --- a/Source/Core/Common/Src/Version.cpp +++ b/Source/Core/Common/Src/Version.cpp @@ -43,3 +43,6 @@ const char *netplay_dolphin_ver = SCM_DESC_STR " L" NP_ARCH; #endif const char *scm_rev_git_str = SCM_REV_STR; + +const char *scm_desc_str = SCM_DESC_STR; +const char *scm_branch_str = SCM_BRANCH_STR; |
