提交 e08c45ec 编写于 作者: H Hongze Cheng

more

上级 495ea995
...@@ -74,4 +74,10 @@ target_include_directories(api INTERFACE "include/client") ...@@ -74,4 +74,10 @@ target_include_directories(api INTERFACE "include/client")
# src # src
add_subdirectory(source) add_subdirectory(source)
# docs
if(${BUILD_DOCS})
execute_process(COMMAND doxygen ${PROJECT_SOURCE_DIR}/docs/Doxyfile)
endif(${BUILD_DOCS})
# tests (TODO) # tests (TODO)
...@@ -35,4 +35,10 @@ option( ...@@ -35,4 +35,10 @@ option(
BUILD_DEPENDENCY_TESTS BUILD_DEPENDENCY_TESTS
"If build dependency tests" "If build dependency tests"
OFF OFF
)
option(
BUILD_DOCS
"If use doxygen build documents"
ON
) )
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册