Older/CMakeLists.txt
amass e1273a3eb9
Some checks failed
Deploy / PullDocker (push) Successful in 6s
Deploy / Build (push) Failing after 50s
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 18s
add code.
2024-11-03 22:31:23 +08:00

32 lines
831 B
CMake

cmake_minimum_required(VERSION 3.17)
project(Older)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(Libraries_ROOT /opt/Libraries)
set(MBEDTLS_ROOT ${Libraries_ROOT}/mbedtls-3.6.2)
set(MBEDTLS_INCLUDE_DIR ${MBEDTLS_ROOT}/include)
set(MBEDTLS_LIBRARY_DIRS ${MBEDTLS_ROOT}/lib)
set(WT_ROOT ${Libraries_ROOT}/wt-4.11.0_debug)
set(WT_INCLUDE_DIR ${WT_ROOT}/include)
set(WT_LIBRARY_DIRS ${WT_ROOT}/lib)
set(WT_LIBRARIES wtd wttestd wthttpd wtdbod wtdbosqlite3d)
set(OPENSSL_LIBRARIES ssl crypto)
include(FetchContent)
FetchContent_Declare(Kylin
GIT_REPOSITORY https://amass.fun/gitea/amass/Kylin.git
)
FetchContent_MakeAvailable(Kylin)
add_subdirectory(MediaServer)
add_subdirectory(ToolKit)
add_subdirectory(WebApplication)
add_subdirectory(Server)
add_subdirectory(ThirdParty)
add_subdirectory(UnitTest)