aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/options.cmake1
-rw-r--r--cmake/showoptions.cmake9
2 files changed, 10 insertions, 0 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake
index 44cb2531adb..ec1d851cd40 100644
--- a/cmake/options.cmake
+++ b/cmake/options.cmake
@@ -49,6 +49,7 @@ endif()
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITH_STRICT_DATABASE_TYPE_CHECKS "Enable strict checking of database field value accessors" 0)
+option(COPY_CONF "Copy authserver and worldserver .conf.dist files to the project dir" 1)
set(WITH_SOURCE_TREE "hierarchical" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical hierarchical-folders)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index cbeb3a9e5d8..5df73bd142a 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -12,6 +12,15 @@ message("* Install core to : ${CMAKE_INSTALL_PREFIX}")
if( UNIX )
message("* Install configs to : ${CONF_DIR}")
endif()
+
+if( COPY_CONF )
+ if( UNIX )
+ message("* Install configs to : ${CONF_DIR}")
+ else()
+ message("* Install configs to : ${CMAKE_INSTALL_PREFIX}")
+ endif()
+endif()
+
message("")
# Show infomation about the options selected during configuration