diff options
| author | Martin Braun <martin.braun@ettus.com> | 2016-04-07 21:43:54 -0700 |
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2016-04-07 21:43:54 -0700 |
| commit | 62f80e22b22eb076e649fc0aee8bbb2c292fa17b (patch) | |
| tree | 5c10103097bf0752c86935130133eb67c9e0e0a9 /host/docs/CMakeLists.txt | |
| parent | 1a002d38ac27656d0bae4a06314add0f586195d1 (diff) | |
| download | uhd-62f80e22b22eb076e649fc0aee8bbb2c292fa17b.tar.gz uhd-62f80e22b22eb076e649fc0aee8bbb2c292fa17b.tar.bz2 uhd-62f80e22b22eb076e649fc0aee8bbb2c292fa17b.zip | |
cmake: Enable use of dot for Doxygen
Diffstat (limited to 'host/docs/CMakeLists.txt')
| -rw-r--r-- | host/docs/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt index 3090d3f80..96f388b2e 100644 --- a/host/docs/CMakeLists.txt +++ b/host/docs/CMakeLists.txt @@ -66,6 +66,7 @@ ENDIF(ENABLE_MANUAL) MESSAGE(STATUS "") LIBUHD_REGISTER_COMPONENT("API/Doxygen" ENABLE_DOXYGEN ON "DOXYGEN_FOUND" OFF OFF) OPTION(ENABLE_DOXYGEN_FULL "Use Doxygen to document the entire source tree (not just API)" OFF) +OPTION(ENABLE_DOXYGEN_DOT "Let Doxygen use dot (requires graphviz)" OFF) IF(LIBUHDDEV_PKG) SET(PKG_DOC_DIR share/doc/libuhd-dev) @@ -94,6 +95,12 @@ MESSAGE(STATUS "") IF(ENABLE_MANUAL_OR_DOXYGEN) #generate the doxygen configuration file SET(CMAKE_CURRENT_BINARY_DIR_DOXYGEN ${CMAKE_CURRENT_BINARY_DIR}/doxygen) + IF(ENABLE_DOXYGEN_DOT) + SET(DOXYGEN_HAVE_DOT "YES") + ELSE(ENABLE_DOXYGEN_DOT) + SET(DOXYGEN_HAVE_DOT "NO") + ENDIF(ENABLE_DOXYGEN_DOT) + CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile |
