Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add separate cmake file to show configuration options
[ci skip] (based on cmangos/mangos-wotlk@7e9bf06) Signed-off-by: stfx <stfx@hotmail.de>
- Loading branch information
Showing
2 changed files
with
52 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# output generic information about the core | ||
message(STATUS "CMaNGOS-Core revision : ${GIT_REVISION}") | ||
message(STATUS "Install server to : ${CMAKE_INSTALL_PREFIX}") | ||
|
||
# Show infomation about the options selected during configuration | ||
if(DEFINED INCLUDE_BINDINGS_DIR AND INCLUDE_BINDINGS_DIR) | ||
message(STATUS "Build script library : Yes (using ${INCLUDE_BINDINGS_DIR})") | ||
else() | ||
message(STATUS "Build script library : No") | ||
endif() | ||
|
||
# if(CLI) | ||
# message(STATUS "Build with CLI : Yes (default)") | ||
# add_definitions(-DENABLE_CLI) | ||
# else() | ||
# message(STATUS "Build with CLI : No") | ||
# endif() | ||
|
||
# if(RA) | ||
# message(STATUS "* Build with RA : Yes") | ||
# add_definitions(-DENABLE_RA) | ||
# else(RA) | ||
# message(STATUS "* Build with RA : No (default)") | ||
# endif(RA) | ||
|
||
if(PCH) | ||
message(STATUS "Use PCH : Yes") | ||
else() | ||
message(STATUS "Use PCH : No") | ||
endif() | ||
|
||
if(DEBUG) | ||
message(STATUS "Build in debug-mode : Yes") | ||
else() | ||
message(STATUS "Build in debug-mode : No (default)") | ||
endif() | ||
|
||
# if(SQL) | ||
# message(STATUS "Install SQL-files : Yes") | ||
# else() | ||
# message(STATUS "Install SQL-files : No (default)") | ||
# endif() | ||
|
||
# if(TOOLS) | ||
# message(STATUS "Build map/vmap tools : Yes") | ||
# else() | ||
# message(STATUS "Build map/vmap tools : No (default)") | ||
# endif() | ||
|
||
message("") |