starfix: HoR fix!!! wave+team check fix+2 bos jalan...kurang LK nya + PR:lootannya...
[st4rcore.git] / cmake / showoptions.cmake
blobade607ee4091daeefc149236cfc0635b71218172
1 # output generic information about the core and buildtype chosen
3 message("* TrinityCore revision   : ${rev_id_str} (${rev_hash_str})")
4 if( UNIX )
5   message("* Build binaries in      : ${CMAKE_BUILD_TYPE} mode")
6 endif()
7 message("")
9 # output information about installation-directories and locations
11 message("* Install core to        : ${CMAKE_INSTALL_PREFIX}")
12 if( UNIX )
13   message("* Install libraries to   : ${LIBSDIR}")
14   message("* Install configs to     : ${CONF_DIR}")
15 endif()
16 message("")
18 # Show infomation about the options selected during configuration
20 if( SERVERS )
21   message("* Build world/auth       : Yes (default)")
22 else()
23   message("* Build world/authserver : No")
24 endif()
26 if( SCRIPTS )
27   message("* Build with scripts     : Yes (default)")
28   add_definitions(-DSCRIPTS)
29 else()
30   message("* Build with scripts     : No")
31   set(USE_SCRIPTPCH 0)
32 endif()
34 if( TOOLS )
35   message("* Build map/vmap tools   : Yes")
36 else()
37   message("* Build map/vmap tools   : No  (default)")
38 endif()
40 if( USE_COREPCH )
41   message("* Build core w/PCH       : Yes (default)")
42 else()
43   message("* Build core w/PCH       : No")
44 endif()
46 if( USE_SCRIPTPCH )
47   message("* Build scripts w/PCH    : Yes (default)")
48 else()
49   message("* Build scripts w/PCH    : No")
50 endif()
52 if( USE_SFMT )
53   message("* Use SFMT for RNG       : Yes")
54   add_definitions(-DUSE_SFMT_FOR_RNG)
55 else()
56   message("* Use SFMT for RNG       : No  (default)")
57 endif()
59 if( WITH_WARNINGS )
60   message("* Show all warnings      : Yes")
61 else()
62   message("* Show compile-warnings  : No  (default)")
63 endif()
65 if( WITH_COREDEBUG )
66   message("* Use coreside debug     : Yes")
67   add_definitions(-DTRINITY_DEBUG)
68 else()
69   message("* Use coreside debug     : No  (default)")
70 endif()
72 if( WIN32 )
73   if( USE_MYSQL_SOURCES )
74     message("* Use MySQL sourcetree   : Yes (default)")
75   else()
76     message("* Use MySQL sourcetree   : No")
77   endif()
78 endif( WIN32 )
80 if( WITH_SQL )
81   message("* Install SQL-files      : Yes")
82 else()
83   message("* Install SQL-files      : No  (default)")
84 endif()
86 message("")