summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-01-21 12:44:56 -0500
committerAllen Winter <allen.winter@kdab.com>2018-01-21 12:44:56 -0500
commitbf9e0b3c7909f316e8b33b12e21ccda6c6d9681f (patch)
tree811a31c74373d0704fab0ce5fb44256a82909427 /doc
parent31586f528c03d27e512b715be21166cacf1d61ff (diff)
downloadlibical-git-bf9e0b3c7909f316e8b33b12e21ccda6c6d9681f.tar.gz
CMakeLists.txt, docs/CMakeLists.txt, Install.txt - new CMake option ICAL_BUILD_DOCS
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 596ad989..8f15bd0e 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -22,12 +22,20 @@ if(DOXYGEN_FOUND)
file(GLOB _all_hdrs
${CMAKE_SOURCE_DIR}/src/libical/*.h
${CMAKE_SOURCE_DIR}/src/libical/*.c
+ ${CMAKE_SOURCE_DIR}/src/libical/*.cxx
+ ${CMAKE_BINARY_DIR}/src/libical/*.c
${CMAKE_BINARY_DIR}/src/libical/*.h
+
${CMAKE_SOURCE_DIR}/src/libicalss/*.h
${CMAKE_SOURCE_DIR}/src/libicalss/*.c
+ ${CMAKE_SOURCE_DIR}/src/libicalss/*.cxx
+ ${CMAKE_BINARY_DIR}/src/libicalss/*.c
${CMAKE_BINARY_DIR}/src/libicalss/*.h
+
${CMAKE_SOURCE_DIR}/src/libicalvcal/*.h
${CMAKE_SOURCE_DIR}/src/libicalvcal/*.c
+ ${CMAKE_SOURCE_DIR}/src/libicalvcal/*.cxx
+ ${CMAKE_BINARY_DIR}/src/libicalvcal/*.c
${CMAKE_BINARY_DIR}/src/libicalvcal/*.h
)
list(APPEND _all_hdrs ${_dox_deps})
@@ -48,5 +56,8 @@ if(DOXYGEN_FOUND)
add_custom_target(docs
DEPENDS ${CMAKE_BINARY_DIR}/apidocs/html/index.html
)
-
+ add_dependencies(docs ical icalss icalvcal)
+ if(WITH_CXX_BINDINGS)
+ add_dependencies(docs ical_cxx icalss_cxx)
+ endif()
endif()