2010-08-28 21:51:28 +02:00
|
|
|
# output generic information about the core and buildtype chosen
|
2011-04-28 18:53:23 +02:00
|
|
|
message("")
|
2011-08-04 22:53:33 +02:00
|
|
|
message("* TrinityCore rev. hash : ${rev_hash}")
|
|
|
|
|
message("* TrinityCore rev. date : ${rev_date}")
|
2010-08-28 21:51:28 +02:00
|
|
|
if( UNIX )
|
2011-08-04 22:53:33 +02:00
|
|
|
message("* TrinityCore buildtype : ${CMAKE_BUILD_TYPE}")
|
2010-08-28 21:51:28 +02:00
|
|
|
endif()
|
|
|
|
|
message("")
|
|
|
|
|
|
|
|
|
|
# output information about installation-directories and locations
|
|
|
|
|
|
|
|
|
|
message("* Install core to : ${CMAKE_INSTALL_PREFIX}")
|
|
|
|
|
if( UNIX )
|
|
|
|
|
message("* Install libraries to : ${LIBSDIR}")
|
|
|
|
|
message("* Install configs to : ${CONF_DIR}")
|
|
|
|
|
endif()
|
|
|
|
|
message("")
|
|
|
|
|
|
|
|
|
|
# Show infomation about the options selected during configuration
|
|
|
|
|
|
|
|
|
|
if( SERVERS )
|
|
|
|
|
message("* Build world/auth : Yes (default)")
|
|
|
|
|
else()
|
|
|
|
|
message("* Build world/authserver : No")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( SCRIPTS )
|
|
|
|
|
message("* Build with scripts : Yes (default)")
|
|
|
|
|
add_definitions(-DSCRIPTS)
|
|
|
|
|
else()
|
|
|
|
|
message("* Build with scripts : No")
|
|
|
|
|
set(USE_SCRIPTPCH 0)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( TOOLS )
|
|
|
|
|
message("* Build map/vmap tools : Yes")
|
|
|
|
|
else()
|
|
|
|
|
message("* Build map/vmap tools : No (default)")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( USE_COREPCH )
|
|
|
|
|
message("* Build core w/PCH : Yes (default)")
|
|
|
|
|
else()
|
|
|
|
|
message("* Build core w/PCH : No")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( USE_SCRIPTPCH )
|
|
|
|
|
message("* Build scripts w/PCH : Yes (default)")
|
|
|
|
|
else()
|
|
|
|
|
message("* Build scripts w/PCH : No")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( WITH_WARNINGS )
|
|
|
|
|
message("* Show all warnings : Yes")
|
|
|
|
|
else()
|
|
|
|
|
message("* Show compile-warnings : No (default)")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( WITH_COREDEBUG )
|
|
|
|
|
message("* Use coreside debug : Yes")
|
|
|
|
|
add_definitions(-DTRINITY_DEBUG)
|
|
|
|
|
else()
|
|
|
|
|
message("* Use coreside debug : No (default)")
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-09-08 14:40:45 +02:00
|
|
|
if( WIN32 )
|
2010-09-08 19:20:38 +02:00
|
|
|
if( USE_MYSQL_SOURCES )
|
|
|
|
|
message("* Use MySQL sourcetree : Yes (default)")
|
2010-09-08 14:40:45 +02:00
|
|
|
else()
|
2010-09-08 19:20:38 +02:00
|
|
|
message("* Use MySQL sourcetree : No")
|
2010-09-08 14:40:45 +02:00
|
|
|
endif()
|
|
|
|
|
endif( WIN32 )
|
|
|
|
|
|
2012-03-25 17:14:08 +02:00
|
|
|
if ( NOJEM )
|
|
|
|
|
message("")
|
|
|
|
|
message("*** WARNING: jemalloc linking has been disabled!")
|
|
|
|
|
message("*** Please note that this is for DEBUGGING WITH VALGRIND only!")
|
|
|
|
|
message("*** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!")
|
|
|
|
|
endif()
|
2012-03-27 02:27:12 +02:00
|
|
|
message("")
|