This commit is contained in:
Hongze Cheng 2021-11-09 15:20:35 +08:00
parent 495ea995ea
commit e08c45ec34
2 changed files with 12 additions and 0 deletions

View File

@ -74,4 +74,10 @@ target_include_directories(api INTERFACE "include/client")
# src
add_subdirectory(source)
# docs
if(${BUILD_DOCS})
execute_process(COMMAND doxygen ${PROJECT_SOURCE_DIR}/docs/Doxyfile)
endif(${BUILD_DOCS})
# tests (TODO)

View File

@ -36,3 +36,9 @@ option(
"If build dependency tests"
OFF
)
option(
BUILD_DOCS
"If use doxygen build documents"
ON
)