mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
refactor(Cmake): add support build selected applications and tools (#11836)
This commit is contained in:
28
deps/CMakeLists.txt
vendored
28
deps/CMakeLists.txt
vendored
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user