drogonCMS-cmake into main branch that replaces make plus other things #1

Merged
sharpetronics merged 36 commits from drogonCMS-cmake into master 2024-01-18 19:01:07 -05:00
Showing only changes of commit 04f2207e2c - Show all commits

View File

@ -4,7 +4,7 @@ project(drogon)
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_ORM "Build orm" ON)
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)
endif (DROGON_CXX_STANDARD EQUAL 20)
# We don't need examplesl or drogon_ctl for drogonCMS
#if (BUILD_EXAMPLES)
# add_subdirectory(examples)
#endif (BUILD_EXAMPLES)
if (BUILD_CTL)
add_subdirectory(drogon_ctl)
endif (BUILD_CTL)
#if (BUILD_CTL)
# add_subdirectory(drogon_ctl)
#endif (BUILD_CTL)
if (COZ_PROFILING)
find_package(coz-profiler REQUIRED)