[Build] move core definition into cmake
This commit is contained in:
parent
eb7f89e197
commit
3a5ab0b766
@ -20,7 +20,7 @@
|
|||||||
project(MaNGOS)
|
project(MaNGOS)
|
||||||
set(MANGOS_VERSION 0.21)
|
set(MANGOS_VERSION 0.21)
|
||||||
set(MANGOS_EXP "CLASSIC")
|
set(MANGOS_EXP "CLASSIC")
|
||||||
|
add_definitions(-DCLASSIC)
|
||||||
# CMake policies
|
# CMake policies
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
# Until CMake 3.0 is the standard
|
# Until CMake 3.0 is the standard
|
||||||
@ -142,6 +142,8 @@ else()
|
|||||||
set(GIT_REVISION "Git not found")
|
set(GIT_REVISION "Git not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(DEFINITIONS ${DEFINITIONS} CLASSIC)
|
||||||
|
|
||||||
message(STATUS "MaNGOS-Core revision : ${GIT_REVISION}")
|
message(STATUS "MaNGOS-Core revision : ${GIT_REVISION}")
|
||||||
message(STATUS "Install server to : ${CMAKE_INSTALL_PREFIX}")
|
message(STATUS "Install server to : ${CMAKE_INSTALL_PREFIX}")
|
||||||
message(STATUS "Install configs to : ${CONF_INSTALL_DIR}")
|
message(STATUS "Install configs to : ${CONF_INSTALL_DIR}")
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#ifndef MANGOS
|
#ifndef MANGOS
|
||||||
#define MANGOS
|
#define MANGOS
|
||||||
#endif /* MANGOS */
|
#endif /* MANGOS */
|
||||||
#define CLASSIC
|
|
||||||
|
|
||||||
enum Gender
|
enum Gender
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user