build(docs): add cmake target for docs (#2748)

This commit is contained in:
ReenigneArcher 2024-06-24 12:12:31 -04:00 committed by GitHub
commit 4683bcaf36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 176 additions and 315 deletions

View file

@ -1,3 +1,4 @@
option(BUILD_DOCS "Build documentation" ON)
option(BUILD_TESTS "Build tests" ON)
option(TESTS_ENABLE_PYTHON_TESTS "Enable Python tests" ON)

View file

@ -61,6 +61,11 @@ add_custom_target(web-ui ALL
COMMAND_EXPAND_LISTS
VERBATIM)
# docs
if(BUILD_DOCS)
add_subdirectory(docs)
endif()
# tests
if(BUILD_TESTS)
add_subdirectory(tests)