diff options
Diffstat (limited to 'docs/doxygen/CMakeLists.txt')
-rw-r--r-- | docs/doxygen/CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/doxygen/CMakeLists.txt b/docs/doxygen/CMakeLists.txt index f328bd7a22..a59159a691 100644 --- a/docs/doxygen/CMakeLists.txt +++ b/docs/doxygen/CMakeLists.txt @@ -37,6 +37,34 @@ configure_file( set(BUILT_DIRS ${CMAKE_CURRENT_BINARY_DIR}/xml ${CMAKE_CURRENT_BINARY_DIR}/html) +if(ENABLE_GRUEL) + list(APPEND GENERATED_DEPS pmt_generated) +endif(ENABLE_GRUEL) + +if(ENABLE_GR_CORE) + list(APPEND GENERATED_DEPS general_generated gengen_generated filter_generated) +endif(ENABLE_GR_CORE) + +if(ENABLE_GR_BLOCKS) + list(APPEND GENERATED_DEPS blocks_generated_includes) +endif(ENABLE_GR_BLOCKS) + +if(ENABLE_GR_ANALOG) + list(APPEND GENERATED_DEPS analog_generated_includes) +endif(ENABLE_GR_ANALOG) + +if(ENABLE_GR_DIGITAL) + list(APPEND GENERATED_DEPS digital_generated_includes) +endif(ENABLE_GR_DIGITAL) + +if(ENABLE_GR_FILTER) + list(APPEND GENERATED_DEPS filter_generated_includes) +endif(ENABLE_GR_FILTER) + +if(ENABLE_GR_TRELLIS) + list(APPEND GENERATED_DEPS trellis_generated_includes) +endif(ENABLE_GR_TRELLIS) + ######################################################################## # Make and install doxygen docs ######################################################################## @@ -44,6 +72,7 @@ add_custom_command( OUTPUT ${BUILT_DIRS} COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + DEPENDS ${GENERATED_DEPS} COMMENT "Generating documentation with doxygen" ) |