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