diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-06-13 14:47:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-06-13 14:47:33 (GMT) |
commit | f415b624a6cf6b9e577ec6131a23cb4a0e830aaf (patch) | |
tree | 97043a9fabdeea26d907dbffdfaade6a105a14df /examples | |
parent | e775357ae71ecbf02dc93913a923567f31b03681 (diff) | |
download | Doxygen-f415b624a6cf6b9e577ec6131a23cb4a0e830aaf.zip Doxygen-f415b624a6cf6b9e577ec6131a23cb4a0e830aaf.tar.gz Doxygen-f415b624a6cf6b9e577ec6131a23cb4a0e830aaf.tar.bz2 |
Fix for building diagram example conditionally
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index a829c13..34abe62 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -3,6 +3,10 @@ if (build_doc) file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/html/examples) file(COPY ${EXAMPLE_DIR} DESTINATION ${PROJECT_BINARY_DIR}) +if (DOT) + set(DIAGRAM_EXAMPLE ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html) +endif() + add_custom_target(examples DEPENDS doxygen ${PROJECT_BINARY_DIR}/html/examples/class/html/index.html @@ -26,13 +30,13 @@ add_custom_target(examples ${PROJECT_BINARY_DIR}/html/examples/template/html/index.html ${PROJECT_BINARY_DIR}/html/examples/tag/html/index.html ${PROJECT_BINARY_DIR}/html/examples/group/html/index.html - ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html ${PROJECT_BINARY_DIR}/html/examples/memgrp/html/index.html ${PROJECT_BINARY_DIR}/html/examples/docstring/html/index.html ${PROJECT_BINARY_DIR}/html/examples/pyexample/html/index.html ${PROJECT_BINARY_DIR}/html/examples/tclexample/html/index.html ${PROJECT_BINARY_DIR}/html/examples/mux/html/index.html ${PROJECT_BINARY_DIR}/html/examples/manual/html/index.html + ${DIAGRAM_EXAMPLE} WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/examples ) |