Legends-of-Azeroth-Pandaria-5.4.8
103 строки · 2.8 Кб
1# Copyright (C) 2011-2016 Project SkyFire <http://www.projectskyfire.org/
2# Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3#
4# This file is free software; as a special exception the author gives
5# unlimited permission to copy and/or distribute it, with or without
6# modifications, as long as this notice is preserved.
7#
8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12# output generic information about the core and buildtype chosen
13message("")
14message("* SkyFire revision : ${rev_hash} ${rev_date} (${rev_branch} branch)")
15if( UNIX )
16message("* SkyFire buildtype : ${CMAKE_BUILD_TYPE}")
17endif()
18message("")
19
20# output information about installation-directories and locations
21
22message("* Install core to : ${CMAKE_INSTALL_PREFIX}")
23if( UNIX )
24message("* Install libraries to : ${LIBSDIR}")
25message("* Install configs to : ${CONF_DIR}")
26endif()
27message("")
28
29# Show infomation about the options selected during configuration
30
31if( SERVERS )
32message("* Build worldserver : Yes (default)")
33if (AUTH_SERVER)
34message("* Build authserver : Yes (default)")
35else()
36message("* Build authserver : No")
37endif()
38else()
39message("* Build world/authserver : No")
40endif()
41
42if( SCRIPTS )
43message("* Build with scripts : Yes (default)")
44add_definitions(-DSCRIPTS)
45else()
46message("* Build with scripts : No")
47endif()
48
49if( ELUNA )
50message("* Build Eluna LuaEngine : Yes (default)")
51add_definitions(-DELUNA)
52else()
53message("* Build Eluna LuaEngine : No")
54endif()
55if( TOOLS )
56message("* Build map/vmap tools : Yes")
57add_definitions(-DNO_CORE_FUNCS)
58else()
59message("* Build map/vmap tools : No (default)")
60endif()
61
62if( USE_COREPCH )
63message("* Build core w/PCH : Yes (default)")
64else()
65message("* Build core w/PCH : No")
66endif()
67
68if( USE_SCRIPTPCH )
69message("* Build scripts w/PCH : Yes (default)")
70else()
71message("* Build scripts w/PCH : No")
72endif()
73
74if( WITH_WARNINGS )
75message("* Show all warnings : Yes")
76else()
77message("* Show compile-warnings : No (default)")
78endif()
79
80if( WITH_COREDEBUG )
81message("* Use coreside debug : Yes")
82add_definitions(-DTRINITY_DEBUG)
83else()
84message("* Use coreside debug : No (default)")
85endif()
86
87if( WIN32 )
88if( USE_MYSQL_SOURCES )
89message("* Use MySQL sourcetree : Yes (default)")
90else()
91message("* Use MySQL sourcetree : No")
92endif()
93endif( WIN32 )
94
95if ( NOJEM )
96message("")
97message(" *** NOJEM - WARNING!")
98message(" *** jemalloc linking has been disabled!")
99message(" *** Please note that this is for DEBUGGING WITH VALGRIND only!")
100message(" *** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!")
101endif()
102
103message("")
104
105