Added doxygen support for examples, removed debugging messages

release/4.3a0
Alex Cunningham 2012-07-21 20:11:43 +00:00
parent ce65f2e925
commit 96d7b6fea2
1 changed files with 5 additions and 6 deletions

View File

@ -42,23 +42,22 @@ if (GTSAM_BUILD_DOCS)
gtsam_unstable/dynamics
gtsam_unstable
)
# Build a list of folders to include
set(doc_subdirs ${gtsam_doc_subdirs})
if (GTSAM_BUILD_UNSTABLE)
list(APPEND doc_subdirs ${gtsam_unstable_doc_subdirs})
endif()
message(STATUS "Doxgyen inputs (raw) [${doc_subdirs}]")
if (GTSAM_BUILD_EXAMPLES)
list(APPEND doc_subdirs examples)
endif()
# From subfolders, build a list with whitespace separation of paths
set(GTSAM_DOXYGEN_INPUT_PATHS "")
foreach(dir ${doc_subdirs})
set(GTSAM_DOXYGEN_INPUT_PATHS "${GTSAM_DOXYGEN_INPUT_PATHS} ${PROJECT_SOURCE_DIR}/${dir}")
endforeach()
message(STATUS "Doxgyen inputs [${GTSAM_DOXYGEN_INPUT_PATHS}]")
# Generate Doxyfile
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)