summaryrefslogtreecommitdiff
path: root/docs/doxygen/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/CMakeLists.txt')
-rw-r--r--docs/doxygen/CMakeLists.txt28
1 files changed, 25 insertions, 3 deletions
diff --git a/docs/doxygen/CMakeLists.txt b/docs/doxygen/CMakeLists.txt
index d0f2896cca..e9c17456ee 100644
--- a/docs/doxygen/CMakeLists.txt
+++ b/docs/doxygen/CMakeLists.txt
@@ -36,9 +36,31 @@ configure_file(
@ONLY)
set(BUILT_DIRS ${CMAKE_CURRENT_BINARY_DIR}/xml ${CMAKE_CURRENT_BINARY_DIR}/html)
-set(GENERATED_DEPS pmt_generated
- analog_generated_includes blocks_generated_includes digital_generated_includes
- fec_generated_includes filter_generated_includes trellis_generated_includes)
+set(GENERATED_DEPS pmt_generated)
+
+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_FEC)
+ list(APPEND GENERATED_DEPS fec_generated_includes)
+endif(ENABLE_GR_FILTER)
+
+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