Added doxygen support for examples, removed debugging messages
parent
ce65f2e925
commit
96d7b6fea2
|
@ -42,23 +42,22 @@ if (GTSAM_BUILD_DOCS)
|
||||||
gtsam_unstable/dynamics
|
gtsam_unstable/dynamics
|
||||||
gtsam_unstable
|
gtsam_unstable
|
||||||
)
|
)
|
||||||
|
|
||||||
# Build a list of folders to include
|
# Build a list of folders to include
|
||||||
set(doc_subdirs ${gtsam_doc_subdirs})
|
set(doc_subdirs ${gtsam_doc_subdirs})
|
||||||
if (GTSAM_BUILD_UNSTABLE)
|
if (GTSAM_BUILD_UNSTABLE)
|
||||||
list(APPEND doc_subdirs ${gtsam_unstable_doc_subdirs})
|
list(APPEND doc_subdirs ${gtsam_unstable_doc_subdirs})
|
||||||
endif()
|
endif()
|
||||||
|
if (GTSAM_BUILD_EXAMPLES)
|
||||||
message(STATUS "Doxgyen inputs (raw) [${doc_subdirs}]")
|
list(APPEND doc_subdirs examples)
|
||||||
|
endif()
|
||||||
|
|
||||||
# From subfolders, build a list with whitespace separation of paths
|
# From subfolders, build a list with whitespace separation of paths
|
||||||
set(GTSAM_DOXYGEN_INPUT_PATHS "")
|
set(GTSAM_DOXYGEN_INPUT_PATHS "")
|
||||||
foreach(dir ${doc_subdirs})
|
foreach(dir ${doc_subdirs})
|
||||||
set(GTSAM_DOXYGEN_INPUT_PATHS "${GTSAM_DOXYGEN_INPUT_PATHS} ${PROJECT_SOURCE_DIR}/${dir}")
|
set(GTSAM_DOXYGEN_INPUT_PATHS "${GTSAM_DOXYGEN_INPUT_PATHS} ${PROJECT_SOURCE_DIR}/${dir}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
message(STATUS "Doxgyen inputs [${GTSAM_DOXYGEN_INPUT_PATHS}]")
|
|
||||||
|
|
||||||
# Generate Doxyfile
|
# Generate Doxyfile
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue