Only include scmrev.h from Version.cpp.

This way less code has to be rebuilt whenever that file gets
regenerated.
This commit is contained in:
comex
2013-09-23 01:06:03 -04:00
parent 146cf56295
commit 2f384c75d2
5 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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';

View File

@ -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;