aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/CMakeLists.txt
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-12 19:30:04 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-12 19:30:04 -0800
commit07328ab9371e93e0c25313bd1ac5f982f65bf971 (patch)
tree78bf2f777f419935a63c81002a1f31ee346d33c5 /doc/api/cplusplus/CMakeLists.txt
parent75f421209febe5485866d1b09916fbb04decf643 (diff)
downloadpaludis-07328ab9371e93e0c25313bd1ac5f982f65bf971.tar.gz
paludis-07328ab9371e93e0c25313bd1ac5f982f65bf971.tar.xz
build: doxygen the entire source tree
Previously the CWD for the doxygen run would be ${CMAKE_CURRENT_BINARY_DIRECTORY} which would prevent the documentation from being generated. This requires tweaking the doxygen.conf.in to ensure that the output does not clobber the source tree.
Diffstat (limited to 'doc/api/cplusplus/CMakeLists.txt')
-rw-r--r--doc/api/cplusplus/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/cplusplus/CMakeLists.txt b/doc/api/cplusplus/CMakeLists.txt
index c3df73e28..20281d2b4 100644
--- a/doc/api/cplusplus/CMakeLists.txt
+++ b/doc/api/cplusplus/CMakeLists.txt
@@ -24,7 +24,9 @@ if(ENABLE_DOXYGEN)
"${CMAKE_CURRENT_SOURCE_DIR}/references.doxygen"
"${DOXYGEN_TAG_FILE}"
OUTPUT
- "${CMAKE_CURRENT_BINARY_DIR}/cplusplus")
+ "${CMAKE_CURRENT_BINARY_DIR}/cplusplus"
+ WORKING_DIRECTORY
+ "${CMAKE_CURRENT_SOURCE_DIR}")
add_custom_target(c++-api-docs
ALL
DEPENDS