aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
authoripriver <g1ran1q@gmail.com>2020-06-22 15:27:03 +0300
committerPeter Keresztes Schmidt <carbenium@outlook.com>2020-06-24 14:42:02 +0200
commita46d047f9466c6f16597755bb7c771a9d1a147f2 (patch)
tree136303f021208e514db5c9b0fff1b65dc8d2d3cf /cmake/showoptions.cmake
parentb210bb37130087d9a25a61dfb1b8baa60540c12c (diff)
fixed indentation for cmake files
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake38
1 files changed, 19 insertions, 19 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index dcbeda554ac..da14ac383f3 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/authserver : No")
@@ -37,32 +37,32 @@ else()
message("* Build with scripts : No")
endif()
-if( TOOLS )
+if(TOOLS)
message("* Build map/vmap tools : Yes (default)")
add_definitions(-DNO_CORE_FUNCS)
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!")
@@ -76,13 +76,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!")
@@ -97,7 +97,7 @@ else()
message("* Use GIT revision hash : Yes (default)")
endif()
-if ( NOJEM )
+if(NOJEM)
message("")
message(" *** NOJEM - WARNING!")
message(" *** jemalloc linking has been disabled!")
@@ -105,7 +105,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")
@@ -113,21 +113,21 @@ 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!")
add_definitions(-DASAN)
endif()
-if ( PERFORMANCE_PROFILING )
+if(PERFORMANCE_PROFILING)
message("")
message(" *** PERFORMANCE_PROFILING - WARNING!")
message(" *** Please note that this is for PERFORMANCE PROFILING only! Do NOT report any issue when enabling this configuration!")
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")
@@ -136,12 +136,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()