Skip to content

Commit

Permalink
fix some doxygen issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Feb 3, 2012
1 parent e2f6b41 commit b1ba803
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion cmake/all.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ foreach(f
tools/rt
tools/threads
tools/gtest
tools/doxygen
tests
)
include(${catkin_EXTRAS_DIR}/${f}.cmake)
Expand Down
9 changes: 8 additions & 1 deletion cmake/tools/doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ if (DOXYGEN_EXECUTABLE)
set(DOXYGEN_FOUND TRUE CACHE BOOL "Doxygen found")
endif()

GET_TARGET_PROPERTY(doxygen_catkin_property doxygen "catkin")
if (doxygen_catkin_property)
else()
add_custom_target(doxygen COMMENT "doxygen found")
set_target_properties(doxygen PROPERTIES "catkin" "found")
endif()

macro(catkin_doxygen TARGET_NAME SEARCH_DIRS)
#doxygen based docs
Expand All @@ -59,6 +65,7 @@ macro(catkin_doxygen TARGET_NAME SEARCH_DIRS)
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_dependencies(doc ${TARGET_NAME})
add_dependencies(doxygen ${TARGET_NAME})

endmacro()

0 comments on commit b1ba803

Please sign in to comment.