Older/CMakeLists.txt
luocai 85b93fbbe3
All checks were successful
Deploy / Build (push) Successful in 5m4s
move dir.
2024-11-26 19:31:09 +08:00

30 lines
773 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(Wt_DIR ${Libraries_ROOT}/wt-4.11.1/lib/cmake/wt)
set(MbedTLS_DIR ${Libraries_ROOT}/mbedtls-3.6.2/lib/cmake/MbedTLS)
set(nng_DIR ${Libraries_ROOT}/nng-1.9.0/lib/cmake/nng)
set(OPENSSL_LIBRARIES ssl crypto)
include(FetchContent)
FetchContent_Declare(Kylin
GIT_REPOSITORY https://amass.fun/gitea/amass/Kylin.git
)
set(KYLIN_WITH_NNG ON)
# add_subdirectory(/mnt/e/Projects/Kylin Kylin)
FetchContent_MakeAvailable(Kylin)
add_subdirectory(Database)
add_subdirectory(MediaServer)
add_subdirectory(ToolKit)
add_subdirectory(WebApplication)
add_subdirectory(Server)
add_subdirectory(ThirdParty)
add_subdirectory(UnitTest)