2020-01-02 06:44:10 +01:00
|
|
|
# This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
|
2010-06-21 07:17:26 +02:00
|
|
|
#
|
|
|
|
|
# This file is free software; as a special exception the author gives
|
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
2016-03-14 15:27:33 +01:00
|
|
|
add_subdirectory(threads)
|
2010-06-11 05:01:30 +02:00
|
|
|
|
2020-06-22 15:27:03 +03:00
|
|
|
if(SERVERS OR TOOLS)
|
2016-03-14 15:27:33 +01:00
|
|
|
add_subdirectory(boost)
|
|
|
|
|
add_subdirectory(zlib)
|
2014-08-03 18:12:04 +01:00
|
|
|
add_subdirectory(g3dlite)
|
|
|
|
|
add_subdirectory(recastnavigation)
|
2016-12-29 22:38:46 +00:00
|
|
|
add_subdirectory(fmt)
|
2016-03-14 15:27:33 +01:00
|
|
|
add_subdirectory(SFMT)
|
|
|
|
|
add_subdirectory(utf8cpp)
|
|
|
|
|
add_subdirectory(valgrind)
|
|
|
|
|
add_subdirectory(openssl)
|
2026-02-26 10:53:22 +01:00
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT NOJEM)
|
|
|
|
|
add_subdirectory(jemalloc)
|
|
|
|
|
endif()
|
2019-11-16 16:25:54 +01:00
|
|
|
add_subdirectory(argon2)
|
2022-08-01 00:12:47 +02:00
|
|
|
add_subdirectory(openssl_ed25519)
|
2023-02-06 00:01:56 +01:00
|
|
|
add_subdirectory(short_alloc)
|
2014-08-03 18:12:04 +01:00
|
|
|
endif()
|
2010-09-18 18:47:49 +02:00
|
|
|
|
2020-06-22 15:27:03 +03:00
|
|
|
if(SERVERS)
|
2016-03-14 15:27:33 +01:00
|
|
|
add_subdirectory(mysql)
|
|
|
|
|
add_subdirectory(readline)
|
2010-09-18 18:47:49 +02:00
|
|
|
add_subdirectory(gsoap)
|
2016-03-23 22:09:55 +01:00
|
|
|
add_subdirectory(rapidjson)
|
2016-03-26 00:30:28 +01:00
|
|
|
add_subdirectory(protobuf)
|
2010-09-18 18:47:49 +02:00
|
|
|
endif()
|
2010-08-12 13:35:00 +02:00
|
|
|
|
2024-06-02 17:44:24 +02:00
|
|
|
if(SERVERS AND BUILD_EFSW)
|
|
|
|
|
add_subdirectory(efsw)
|
|
|
|
|
endif()
|
|
|
|
|
|
2020-06-22 15:27:03 +03:00
|
|
|
if(TOOLS)
|
2014-10-10 20:17:30 +02:00
|
|
|
add_subdirectory(CascLib)
|
2010-08-12 13:35:00 +02:00
|
|
|
endif()
|
2020-07-22 20:27:54 +02:00
|
|
|
|
|
|
|
|
if(BUILD_TESTING)
|
|
|
|
|
include(FetchContent)
|
|
|
|
|
FetchContent_Declare(Catch2
|
|
|
|
|
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
2026-07-15 23:46:27 +02:00
|
|
|
GIT_TAG v3.15.2
|
2020-07-22 20:27:54 +02:00
|
|
|
GIT_SHALLOW 1)
|
|
|
|
|
FetchContent_MakeAvailable(Catch2)
|
|
|
|
|
endif()
|