Skip to content

Commit

Permalink
Merge branch 'billy1arm-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1arm committed Apr 11, 2018
2 parents 8c9fa1f + bb29d3a commit 17e0267
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ option(BUILD_REALMD "Build the login server" ON)
option(BUILD_TOOLS "Build the map/vmap/mmap extractors" ON)
option(SCRIPT_LIB_ELUNA "Compile with support for Eluna scripts" ON)
option(SCRIPT_LIB_SD3 "Compile with support for ScriptDev3 scripts" ON)
#option(PLAYERBOTS "Enable Player Bots" OFF)
option(SOAP "Enable remote access via SOAP" OFF)
# Hidden option to enable/disable PCH. DEV ONLY!
set(PCH ON)
Expand All @@ -61,7 +62,8 @@ message(
Scripting engines:
SCRIPT_LIB_ELUNA Compile with support for Eluna scripts
SCRIPT_LIB_SD3 Compile with support for ScriptDev3 scripts
Modules:
PLAYERBOTS Enable Player Bots
To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.
Also, you can specify the generator with -G. see 'cmake --help' for more details
For example: cmake .. -DDEBUG=1 -DCMAKE_INSTALL_PREFIX=/opt/mangos
Expand Down Expand Up @@ -134,6 +136,13 @@ else()
message(STATUS "Script engine SD3 : No")
endif()

#if(PLAYERBOTS)
# message(STATUS "Enable Player Bots : Yes (default)")
# add_definitions(-DENABLE_PLAYERBOTS)
#else()
# message(STATUS "Enable Player Bots : No")
#endif()

if(BUILD_MANGOSD)
message(STATUS "Build main server : Yes (default)")
else()
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ if(WIN32)
install(FILES ${MYSQL_LIB_DIR}/${MYSQL_LIB_DLL} DESTINATION ${BIN_DIR})
install(FILES ${OPENSSL_ROOT_DIR}/libeay32.dll DESTINATION ${BIN_DIR})
endif()
endif()
endif()

0 comments on commit 17e0267

Please sign in to comment.