aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake36
1 files changed, 18 insertions, 18 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index 5df73bd142a..970afc37b32 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -1,7 +1,7 @@
# output generic information about the core and buildtype chosen
message("")
message("* TrinityCore revision : ${rev_hash} ${rev_date} (${rev_branch} branch)")
-if( UNIX )
+if(UNIX)
message("* TrinityCore buildtype : ${CMAKE_BUILD_TYPE}")
endif()
message("")
@@ -9,12 +9,12 @@ message("")
# output information about installation-directories and locations
message("* Install core to : ${CMAKE_INSTALL_PREFIX}")
-if( UNIX )
+if(UNIX)
message("* Install configs to : ${CONF_DIR}")
endif()
-if( COPY_CONF )
- if( UNIX )
+if(COPY_CONF)
+ if(UNIX)
message("* Install configs to : ${CONF_DIR}")
else()
message("* Install configs to : ${CMAKE_INSTALL_PREFIX}")
@@ -25,7 +25,7 @@ message("")
# Show infomation about the options selected during configuration
-if( SERVERS )
+if(SERVERS)
message("* Build world/auth : Yes (default)")
else()
message("* Build world/bnetserver : No")
@@ -37,31 +37,31 @@ else()
message("* Build with scripts : No")
endif()
-if( TOOLS )
+if(TOOLS)
message("* Build map/vmap tools : Yes (default)")
else()
message("* Build map/vmap tools : No")
endif()
-if( USE_COREPCH )
+if(USE_COREPCH)
message("* Build core w/PCH : Yes (default)")
else()
message("* Build core w/PCH : No")
endif()
-if( USE_SCRIPTPCH )
+if(USE_SCRIPTPCH)
message("* Build scripts w/PCH : Yes (default)")
else()
message("* Build scripts w/PCH : No")
endif()
-if( WITH_WARNINGS )
+if(WITH_WARNINGS)
message("* Show all warnings : Yes")
else()
message("* Show compile-warnings : No (default)")
endif()
-if( WITH_COREDEBUG )
+if(WITH_COREDEBUG)
message("")
message(" *** WITH_COREDEBUG - WARNING!")
message(" *** additional core debug logs have been enabled!")
@@ -75,13 +75,13 @@ else()
message("* Use coreside debug : No (default)")
endif()
-if( NOT WITH_SOURCE_TREE STREQUAL "no" )
+if(NOT WITH_SOURCE_TREE STREQUAL "no")
message("* Show source tree : Yes (${WITH_SOURCE_TREE})")
else()
message("* Show source tree : No")
endif()
-if ( WITHOUT_GIT )
+if(WITHOUT_GIT)
message("* Use GIT revision hash : No")
message("")
message(" *** WITHOUT_GIT - WARNING!")
@@ -96,7 +96,7 @@ else()
message("* Use GIT revision hash : Yes (default)")
endif()
-if ( NOJEM )
+if(NOJEM)
message("")
message(" *** NOJEM - WARNING!")
message(" *** jemalloc linking has been disabled!")
@@ -104,7 +104,7 @@ if ( NOJEM )
message(" *** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!")
endif()
-if ( HELGRIND )
+if(HELGRIND)
message("")
message(" *** HELGRIND - WARNING!")
message(" *** Please specify the valgrind include directory in VALGRIND_INCLUDE_DIR option if you get build errors")
@@ -112,7 +112,7 @@ if ( HELGRIND )
add_definitions(-DHELGRIND)
endif()
-if ( ASAN )
+if(ASAN)
message("")
message(" *** ASAN - WARNING!")
message(" *** Please note that this is for DEBUGGING WITH ADDRESS SANITIZER only!")
@@ -147,7 +147,7 @@ if(PERFORMANCE_PROFILING)
add_definitions(-DPERFORMANCE_PROFILING)
endif()
-if( WITH_STRICT_DATABASE_TYPE_CHECKS )
+if(WITH_STRICT_DATABASE_TYPE_CHECKS)
message("")
message(" *** WITH_STRICT_DATABASE_TYPE_CHECKS - WARNING!")
message(" *** Validates uses of database Get***() functions from Field class")
@@ -156,12 +156,12 @@ if( WITH_STRICT_DATABASE_TYPE_CHECKS )
add_definitions(-DTRINITY_STRICT_DATABASE_TYPE_CHECKS)
endif()
-if (BUILD_SHARED_LIBS)
+if(BUILD_SHARED_LIBS)
message("")
message(" *** WITH_DYNAMIC_LINKING - INFO!")
message(" *** Will link against shared libraries!")
message(" *** Please note that this is an experimental feature!")
- if (WITH_DYNAMIC_LINKING_FORCED)
+ if(WITH_DYNAMIC_LINKING_FORCED)
message("")
message(" *** Dynamic linking was enforced through a dynamic script module!")
endif()