mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
feat(Core/Command): server debug (#6007)
* initial work * fix query * load * clean up * remove from startup * ACE * remove static * Update MySQLThreading.cpp * not used * Update MySQLThreading.cpp * unit testing * Update WorldMock.h * show Boost ver * Update WorldMock.h * include * Now we have boost::filesystem woo * fix build * fix typo
This commit is contained in:
@@ -21,6 +21,16 @@ char const* GitRevision::GetBranch()
|
||||
return _BRANCH;
|
||||
}
|
||||
|
||||
char const* GitRevision::GetCMakeVersion()
|
||||
{
|
||||
return _CMAKE_VERSION;
|
||||
}
|
||||
|
||||
char const* GitRevision::GetHostOSVersion()
|
||||
{
|
||||
return _CMAKE_HOST_SYSTEM;
|
||||
}
|
||||
|
||||
#if AC_PLATFORM == AC_PLATFORM_WINDOWS
|
||||
# ifdef _WIN64
|
||||
# define AZEROTH_PLATFORM_STR "Win64"
|
||||
@@ -31,9 +41,15 @@ char const* GitRevision::GetBranch()
|
||||
# define AZEROTH_PLATFORM_STR "Unix"
|
||||
#endif
|
||||
|
||||
#ifndef ACORE_API_USE_DYNAMIC_LINKING
|
||||
# define ACORE_LINKAGE_TYPE_STR "Static"
|
||||
#else
|
||||
# define ACORE_LINKAGE_TYPE_STR "Dynamic"
|
||||
#endif
|
||||
|
||||
char const* GitRevision::GetFullVersion()
|
||||
{
|
||||
return VER_COMPANYNAME_STR " rev. " VER_PRODUCTVERSION_STR " (" AZEROTH_PLATFORM_STR ", " _BUILD_DIRECTIVE ")";
|
||||
return VER_COMPANYNAME_STR " rev. " VER_PRODUCTVERSION_STR " (" AZEROTH_PLATFORM_STR ", " _BUILD_DIRECTIVE ", " ACORE_LINKAGE_TYPE_STR ")";
|
||||
}
|
||||
|
||||
char const* GitRevision::GetCompanyNameStr()
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace GitRevision
|
||||
char const* GetHash();
|
||||
char const* GetDate();
|
||||
char const* GetBranch();
|
||||
char const* GetCMakeVersion();
|
||||
char const* GetHostOSVersion();
|
||||
char const* GetFullVersion();
|
||||
char const* GetCompanyNameStr();
|
||||
char const* GetLegalCopyrightStr();
|
||||
|
||||
Reference in New Issue
Block a user