diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2019-02-08 18:14:58 +0300 |
---|---|---|
committer | Dominik Schmidt <dev@dominik-schmidt.de> | 2019-02-12 22:30:30 +0300 |
commit | f8007cfc0beaba2ea22ae97bb84a794082336424 (patch) | |
tree | 67a843e5a738abde123588e332dd38021a5d4cac /CMakeLists.txt | |
parent | 191d3279780229174080a2707598e5265921eadc (diff) |
Add doc CMake target
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d5b538467..52c5be693 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,6 +117,9 @@ option(BUILD_SHELL_INTEGRATION_NAUTILUS "BUILD_SHELL_INTEGRATION_NAUTILUS" ON) # this option builds the client option(BUILD_CLIENT "BUILD_CLIENT" ON) +# this option builds the client documentation +option(BUILD_DOCS "BUILD_DOCS" OFF) + # this option creates only libocsync and libowncloudsync (NOTE: BUILD_CLIENT needs to be on) option(BUILD_LIBRARIES_ONLY "BUILD_LIBRARIES_ONLY" OFF) @@ -180,14 +183,17 @@ if(BUILD_CLIENT) add_subdirectory(src) if(NOT BUILD_LIBRARIES_ONLY) add_subdirectory(man) - add_subdirectory(doc) - add_subdirectory(doc/dev) if(IS_DIRECTORY ${CMAKE_SOURCE_DIR}/admin) add_subdirectory(admin) endif(IS_DIRECTORY ${CMAKE_SOURCE_DIR}/admin) endif(NOT BUILD_LIBRARIES_ONLY) endif() +if(BUILD_DOCS) + add_subdirectory(docs) +endif() + + if(BUILD_SHELL_INTEGRATION) add_subdirectory(shell_integration) endif() |