27 lines
458 B
CMake
27 lines
458 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(Kylin)
|
|
|
|
option(UNIT_TEST "do unit test" OFF)
|
|
|
|
find_package(Boost REQUIRED COMPONENTS log serialization)
|
|
|
|
set(OpenSSL_LIBRARY ssl crypto)
|
|
|
|
add_subdirectory(DataStructure)
|
|
|
|
if(TARGET Boost::serialization)
|
|
add_subdirectory(Encrypt)
|
|
endif()
|
|
|
|
add_subdirectory(HttpProxy)
|
|
|
|
if(KYLIN_WITH_FLUENT)
|
|
add_subdirectory(Fluent)
|
|
endif()
|
|
|
|
add_subdirectory(Universal)
|
|
|
|
if(UNIT_TEST)
|
|
add_subdirectory(UnitTest)
|
|
endif() |