From 96d7b6fea218a45296465c4cd9eaee9b228c8c4e Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Sat, 21 Jul 2012 20:11:43 +0000 Subject: [PATCH] Added doxygen support for examples, removed debugging messages --- doc/CMakeLists.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 6441f7223..d26b16cd3 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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)