CMake: Fix configure defines

This commit is contained in:
Jonathan G Rennison
2020-06-27 19:10:11 +01:00
parent f1a9d0d056
commit 9470ad050b
4 changed files with 19 additions and 20 deletions

View File

@@ -144,7 +144,6 @@ char *CrashLog::LogOpenTTDVersion(char *buffer, const char *last) const
" Endian: %s\n"
" Dedicated: %s\n"
" Build date: %s\n"
" Configure: %s\n"
" Defines: %s\n\n",
_openttd_revision,
_openttd_revision_modified,
@@ -165,7 +164,6 @@ char *CrashLog::LogOpenTTDVersion(char *buffer, const char *last) const
"no",
#endif
_openttd_build_date,
_openttd_build_configure,
_openttd_build_configure_defines
);
}

View File

@@ -45,16 +45,10 @@ const char _openttd_revision[] = "${REV_VERSION}";
*/
const char _openttd_build_date[] = __DATE__ " " __TIME__;
/**
* The configure invocation used to build OpenTTD
*/
const char _openttd_build_configure[] = "!!CONFIGURE_INVOCATION!!";
/**
* The configure defines used to build OpenTTD
*/
const char _openttd_build_configure_defines[] = "!!CONFIGURE_DEFINES!!";
const char _openttd_build_configure_defines[] = "${CONFIGURE_DEFINES}";
/**
* The git revision hash of this version.

View File

@@ -14,7 +14,6 @@ extern const char _openttd_revision[];
extern const char _openttd_build_date[];
extern const char _openttd_revision_hash[];
extern const char _openttd_revision_year[];
extern const char _openttd_build_configure[];
extern const char _openttd_build_configure_defines[];
extern const byte _openttd_revision_modified;
extern const byte _openttd_revision_tagged;