Add an option to disable the inclusion of the build date.

Debian has a goal to make reproducible builds therefore make it an
option instead of distro specific.
.
I added an "OR openSusE" to not "break" the old openSUSE behavior but ideally
they should just use -DDISABLE_BUILD_DATE=TRUE instead.
.
The old -DopenSUSE is not used for anything else so I removed it.
This commit is contained in:
Miguel A. Colón Vélez
2015-07-27 14:00:47 -04:00
parent 000e11e270
commit 83a4b37bcf
4 changed files with 9 additions and 4 deletions

View File

@@ -359,7 +359,7 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
else
{
// beta / development editions, which feature revision number and compile date.
#ifndef openSUSE
#ifndef DISABLE_BUILD_DATE
wintitle.Printf( L"%s %d.%d.%d-%lld%s (git) %s", pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
SVN_REV, SVN_MODS ? L"m" : wxEmptyString, fromUTF8(__DATE__).c_str() );
#else