mirror of
https://github.com/alexkulya/pandaria_5.4.8.git
synced 2025-12-11 07:37:03 +00:00
98 lines
2.7 KiB
CMake
98 lines
2.7 KiB
CMake
# Copyright (C) 2011-2016 Project SkyFire <http://www.projectskyfire.org/
|
|
# Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
|
#
|
|
# This file is free software; as a special exception the author gives
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
# modifications, as long as this notice is preserved.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
# output generic information about the core and buildtype chosen
|
|
message("")
|
|
message("* SkyFire revision : ${rev_hash} ${rev_date} (${rev_branch} branch)")
|
|
if( UNIX )
|
|
message("* SkyFire buildtype : ${CMAKE_BUILD_TYPE}")
|
|
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 worldserver : Yes (default)")
|
|
if (AUTH_SERVER)
|
|
message("* Build authserver : Yes (default)")
|
|
else()
|
|
message("* Build authserver : No")
|
|
endif()
|
|
else()
|
|
message("* Build world/authserver : No")
|
|
endif()
|
|
|
|
if( SCRIPTS )
|
|
message("* Build with scripts : Yes (default)")
|
|
add_definitions(-DSCRIPTS)
|
|
else()
|
|
message("* Build with scripts : No")
|
|
endif()
|
|
|
|
if( TOOLS )
|
|
message("* Build map/vmap tools : Yes")
|
|
add_definitions(-DNO_CORE_FUNCS)
|
|
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()
|
|
|
|
if( WIN32 )
|
|
if( USE_MYSQL_SOURCES )
|
|
message("* Use MySQL sourcetree : Yes (default)")
|
|
else()
|
|
message("* Use MySQL sourcetree : No")
|
|
endif()
|
|
endif( WIN32 )
|
|
|
|
if ( NOJEM )
|
|
message("")
|
|
message(" *** NOJEM - WARNING!")
|
|
message(" *** 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()
|
|
|
|
message("")
|
|
|