summaryrefslogtreecommitdiff
path: root/deps
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 /deps
parent40a5eef152addba3949016938519fa61d9776f82 (diff)
refactor(Cmake): add support build selected applications and tools (#11836)
Diffstat (limited to 'deps')
-rw-r--r--deps/CMakeLists.txt28
1 files changed, 16 insertions, 12 deletions
diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt
index 80c149d756..2d5b43505a 100644
--- a/deps/CMakeLists.txt
+++ b/deps/CMakeLists.txt
@@ -16,30 +16,34 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows")
endif()
endif()
+add_subdirectory(SFMT)
+add_subdirectory(argon2)
+add_subdirectory(boost)
+add_subdirectory(fmt)
+add_subdirectory(jemalloc)
+add_subdirectory(openssl)
+add_subdirectory(stdfs)
add_subdirectory(threads)
+add_subdirectory(utf8cpp)
-if(SERVERS OR TOOLS)
- add_subdirectory(boost)
+# if ((APPS_BUILD AND (NOT APPS_BUILD STREQUAL "none")) OR BUILD_TOOLS_DB_IMPORT) #DB import PR
+if ((APPS_BUILD AND (NOT APPS_BUILD STREQUAL "none")))
+ add_subdirectory(mysql)
+endif()
+
+if (BUILD_APPLICATION_WORLDSERVER OR BUILD_TOOLS_MAPS)
add_subdirectory(zlib)
add_subdirectory(g3dlite)
add_subdirectory(recastnavigation)
- add_subdirectory(fmt)
- add_subdirectory(SFMT)
- add_subdirectory(utf8cpp)
- add_subdirectory(openssl)
- add_subdirectory(argon2)
- add_subdirectory(jemalloc)
- add_subdirectory(stdfs)
endif()
-if(SERVERS)
- add_subdirectory(mysql)
+if (BUILD_APPLICATION_WORLDSERVER)
add_subdirectory(readline)
add_subdirectory(gsoap)
add_subdirectory(gperftools)
endif()
-if(TOOLS)
+if (BUILD_TOOLS_MAPS)
add_subdirectory(bzip2)
add_subdirectory(libmpq)
endif()