2023-07-20 19:30:39 +08:00
|
|
|
cmake_minimum_required(VERSION 3.17)
|
|
|
|
|
2023-07-21 16:17:01 +08:00
|
|
|
project(Older)
|
|
|
|
|
2024-01-06 00:12:59 +08:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
|
2024-10-29 23:25:45 +08:00
|
|
|
set(Libraries_ROOT /opt/Libraries)
|
|
|
|
|
2024-11-25 14:41:31 +08:00
|
|
|
set(Wt_DIR ${Libraries_ROOT}/wt-4.11.1/lib/cmake/wt)
|
2024-11-25 18:42:56 +08:00
|
|
|
set(MbedTLS_DIR ${Libraries_ROOT}/mbedtls-3.6.2/lib/cmake/MbedTLS)
|
2024-11-25 18:51:45 +08:00
|
|
|
set(nng_DIR ${Libraries_ROOT}/nng-1.9.0/lib/cmake/nng)
|
2024-11-10 18:33:39 +08:00
|
|
|
|
2024-01-24 23:19:53 +08:00
|
|
|
set(OPENSSL_LIBRARIES ssl crypto)
|
|
|
|
|
2023-07-21 16:17:01 +08:00
|
|
|
include(FetchContent)
|
|
|
|
FetchContent_Declare(Kylin
|
2024-11-10 18:33:39 +08:00
|
|
|
GIT_REPOSITORY https://amass.fun/gitea/amass/Kylin.git
|
2023-07-21 16:17:01 +08:00
|
|
|
)
|
2024-11-10 18:33:39 +08:00
|
|
|
set(KYLIN_WITH_NNG ON)
|
|
|
|
# add_subdirectory(/mnt/e/Projects/Kylin Kylin)
|
2023-07-21 16:17:01 +08:00
|
|
|
FetchContent_MakeAvailable(Kylin)
|
|
|
|
|
2024-09-28 23:55:00 +08:00
|
|
|
add_subdirectory(MediaServer)
|
|
|
|
add_subdirectory(ToolKit)
|
2024-10-30 23:59:59 +08:00
|
|
|
add_subdirectory(WebApplication)
|
2023-12-30 01:19:36 +08:00
|
|
|
add_subdirectory(Server)
|
|
|
|
add_subdirectory(ThirdParty)
|
|
|
|
add_subdirectory(UnitTest)
|