drogonCMS-cmake into main branch that replaces make plus other things #1
9
vendors/drogon/CMakeLists.txt
vendored
9
vendors/drogon/CMakeLists.txt
vendored
@ -4,7 +4,7 @@ project(drogon)
|
|||||||
|
|
||||||
message(STATUS "compiler: " ${CMAKE_CXX_COMPILER_ID})
|
message(STATUS "compiler: " ${CMAKE_CXX_COMPILER_ID})
|
||||||
|
|
||||||
option(BUILD_CTL "Build drogon_ctl" ON)
|
option(BUILD_CTL "Build drogon_ctl" OFF)
|
||||||
option(BUILD_EXAMPLES "Build examples" OFF)
|
option(BUILD_EXAMPLES "Build examples" OFF)
|
||||||
option(BUILD_ORM "Build orm" ON)
|
option(BUILD_ORM "Build orm" ON)
|
||||||
option(COZ_PROFILING "Use coz for profiling" OFF)
|
option(COZ_PROFILING "Use coz for profiling" OFF)
|
||||||
@ -510,13 +510,14 @@ else (DROGON_CXX_STANDARD EQUAL 20)
|
|||||||
option(USE_COROUTINE "Enable C++20 coroutine support" OFF)
|
option(USE_COROUTINE "Enable C++20 coroutine support" OFF)
|
||||||
endif (DROGON_CXX_STANDARD EQUAL 20)
|
endif (DROGON_CXX_STANDARD EQUAL 20)
|
||||||
|
|
||||||
|
# We don't need examplesl or drogon_ctl for drogonCMS
|
||||||
#if (BUILD_EXAMPLES)
|
#if (BUILD_EXAMPLES)
|
||||||
# add_subdirectory(examples)
|
# add_subdirectory(examples)
|
||||||
#endif (BUILD_EXAMPLES)
|
#endif (BUILD_EXAMPLES)
|
||||||
|
|
||||||
if (BUILD_CTL)
|
#if (BUILD_CTL)
|
||||||
add_subdirectory(drogon_ctl)
|
# add_subdirectory(drogon_ctl)
|
||||||
endif (BUILD_CTL)
|
#endif (BUILD_CTL)
|
||||||
|
|
||||||
if (COZ_PROFILING)
|
if (COZ_PROFILING)
|
||||||
find_package(coz-profiler REQUIRED)
|
find_package(coz-profiler REQUIRED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user