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)
|
|
|
|
|
|
|
|
set(MBEDTLS_ROOT ${Libraries_ROOT}/mbedtls-3.6.2)
|
|
|
|
set(MBEDTLS_INCLUDE_DIR ${MBEDTLS_ROOT}/include)
|
|
|
|
set(MBEDTLS_LIBRARY_DIRS ${MBEDTLS_ROOT}/lib)
|
|
|
|
|
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-10-15 23:53:34 +08:00
|
|
|
GIT_REPOSITORY https://amass.fun/gitea/amass/Kylin.git
|
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)
|
2023-12-30 01:19:36 +08:00
|
|
|
add_subdirectory(Server)
|
|
|
|
add_subdirectory(ThirdParty)
|
|
|
|
add_subdirectory(UnitTest)
|