-
Notifications
You must be signed in to change notification settings - Fork 89
/
showoptions.cmake
50 lines (42 loc) · 1.3 KB
/
showoptions.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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("")