* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h * Move the source and mysql exe path handling out of the DBUpdater. * Make some Config methods const for correctness. * Remove C & CXX flags from revision_data.h (was unused and didn't capture all cxx vars) * Reorder the link order to prevent `ld` from ignoring the file * Ref #15671 (cherry picked from commit 719159e2074ac2d0902c70bdd3c7a39e0d311bbe)
18 lines
883 B
CMake
18 lines
883 B
CMake
#ifndef __REVISION_DATA_H__
|
|
#define __REVISION_DATA_H__
|
|
#define _HASH "@rev_hash@"
|
|
#define _DATE "@rev_date@"
|
|
#define _BRANCH "@rev_branch@"
|
|
#define _CMAKE_COMMAND "@CMAKE_COMMAND@"
|
|
#define _SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@"
|
|
#define _BUILD_DIRECTORY "@BUILDDIR@"
|
|
#define _MYSQL_EXECUTABLE "@MYSQL_EXECUTABLE@"
|
|
#define _FULL_DATABASE "TDB_full_world_335.60_2015_11_07.sql"
|
|
#define VER_COMPANYNAME_STR "TrinityCore Developers"
|
|
#define VER_LEGALCOPYRIGHT_STR "(c)2008-2016 TrinityCore"
|
|
#define VER_FILEVERSION 0,0,0
|
|
#define VER_FILEVERSION_STR "@rev_hash@ @rev_date@ (@rev_branch@ branch)"
|
|
#define VER_PRODUCTVERSION VER_FILEVERSION
|
|
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
|
|
#endif // __REVISION_DATA_H__
|