summaryrefslogtreecommitdiff
path: root/src/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorKargatum <dowlandtop@yandex.com>2022-05-31 17:05:39 +0700
committerGitHub <noreply@github.com>2022-05-31 17:05:39 +0700
commit4fbec972a8fe55d73744205322298791ded0c204 (patch)
tree9b183311815b3a25c46ea11e99c73c548460a0fb /src/cmake/showoptions.cmake
parent40a5eef152addba3949016938519fa61d9776f82 (diff)
refactor(Cmake): add support build selected applications and tools (#11836)
Diffstat (limited to 'src/cmake/showoptions.cmake')
-rw-r--r--src/cmake/showoptions.cmake25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/cmake/showoptions.cmake b/src/cmake/showoptions.cmake
index 08467d8df8..7111990b6f 100644
--- a/src/cmake/showoptions.cmake
+++ b/src/cmake/showoptions.cmake
@@ -32,31 +32,32 @@ message("")
# Show infomation about the options selected during configuration
-if( SERVERS )
- message("* Build world/auth : Yes (default)")
+if (APPS_BUILD AND (NOT APPS_BUILD STREQUAL "none"))
+ message("* Build applications : Yes (${APPS_BUILD})")
else()
- message("* Build world/authserver : No")
+ message("* Build applications : No")
endif()
-if(SCRIPTS AND (NOT SCRIPTS STREQUAL "none"))
+if (TOOLS_BUILD AND (NOT TOOLS_BUILD STREQUAL "none"))
+ message("* Build tools : Yes (${TOOLS_BUILD})")
+ add_definitions(-DNO_CORE_FUNCS)
+else()
+ message("* Build tools : No")
+endif()
+
+if (SCRIPTS AND (NOT SCRIPTS STREQUAL "none"))
message("* Build with scripts : Yes (${SCRIPTS})")
+
else()
message("* Build with scripts : No")
endif()
-if(MODULES AND (NOT MODULES STREQUAL "none"))
+if (MODULES AND (NOT MODULES STREQUAL "none"))
message("* Build with modules : Yes (${MODULES})")
else()
message("* Build with modules : 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( BUILD_TESTING )
message("* Build unit tests : Yes")
else()