From 13acda91b51d7e053e38a1f5f7d7864d85622e83 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 12 Aug 2016 17:38:01 -0700 Subject: doxygen: Exclude RFNoC includes if ENABLE_RFNOC is off --- host/docs/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/docs/CMakeLists.txt') diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt index a702f76c6..e60f6a35d 100644 --- a/host/docs/CMakeLists.txt +++ b/host/docs/CMakeLists.txt @@ -45,6 +45,10 @@ IF(ENABLE_MANUAL) SET(DOXYGEN_DEP_COMPONENT "manual") SET(DOXYGEN_FPGA_MANUAL_REFERENCE "Part III: FPGA Manual") SET(DOXYGEN_STRIP_EXTRA "") + SET(DOXYGEN_EXCLUDE_DIRS "") + IF(NOT ENABLE_RFNOC) + SET(DOXYGEN_EXCLUDE_DIRS "${DOXYGEN_EXCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/include/uhd/rfnoc") + ENDIF(NOT ENABLE_RFNOC) # Now, check if we have the FPGA sources as well. # If so, pull them in: IF(HAS_FPGA_SUBMODULE) -- cgit v1.2.3