mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
* 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
19 lines
957 B
CMake
19 lines
957 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_6.03_2015_11_08.sql"
|
|
#define _HOTFIXES_DATABASE "TDB_full_hotfixes_6.03_2015_11_08.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__
|