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

@ -6,7 +6,6 @@
#include "AboutDolphin.h"
#include "WxUtils.h"
#include "../resources/dolphin_logo.cpp"
#include "scmrev.h"
AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id,
const wxString &title, const wxPoint &position,
@ -49,7 +48,7 @@ AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id,
"The emulator is for educational purposes only\n"
"and should not be used to play games you do\n"
"not legally own."),
SCM_DESC_STR, SCM_BRANCH_STR, SCM_REV_STR, __DATE__, __TIME__);
scm_desc_str, scm_branch_str, scm_rev_git_str, __DATE__, __TIME__);
wxStaticText* const Message = new wxStaticText(this, wxID_ANY, Text);
Message->Wrap(GetSize().GetWidth());