Older/CMakeLists.txt
amass 83b0ff4369
All checks were successful
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 18s
Deploy / Build (push) Successful in 3m0s
add exit command.
2024-11-10 18:33:39 +08:00

38 lines
1009 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.1)
set(WT_INCLUDE_DIR ${WT_ROOT}/include)
set(WT_LIBRARY_DIRS ${WT_ROOT}/lib)
set(WT_LIBRARIES wt wttest wthttp wtdbo wtdbosqlite3)
set(NNG_ROOT ${Libraries_ROOT}/nng-1.9.0)
set(NNG_INCLUDE_DIR ${NNG_ROOT}/include)
set(NNG_LIBRARY_DIRS ${NNG_ROOT}/lib)
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(MediaServer)
add_subdirectory(ToolKit)
add_subdirectory(WebApplication)
add_subdirectory(Server)
add_subdirectory(ThirdParty)
add_subdirectory(UnitTest)