diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-06-20 21:51:05 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-06-20 21:51:05 (GMT) |
commit | f63d9ed958d2c06717434e1a90e6417cf2d60f6b (patch) | |
tree | 0bd2fb98598d2c87971eb041429b58bf9afee831 /examples | |
parent | dfe93f9fde39167eae2aeeab929641a9c56cc916 (diff) | |
download | Doxygen-f63d9ed958d2c06717434e1a90e6417cf2d60f6b.zip Doxygen-f63d9ed958d2c06717434e1a90e6417cf2d60f6b.tar.gz Doxygen-f63d9ed958d2c06717434e1a90e6417cf2d60f6b.tar.bz2 |
Various minor changes
- made copying doc and example files a target
- fixed bug using temparary in the wizard.
- Added faq question about extension mapping
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 13 | ||||
-rw-r--r-- | examples/class.h | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 34abe62..d689eda 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,14 +1,23 @@ if (build_doc) +file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/examples) file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/html/examples) -file(COPY ${EXAMPLE_DIR} DESTINATION ${PROJECT_BINARY_DIR}) +file(GLOB EXAMPLE_FILES "*") if (DOT) set(DIAGRAM_EXAMPLE ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html) endif() +# copy all example files +add_custom_target(copy_examples) +foreach(example_file ${EXAMPLE_FILES}) + add_custom_command(TARGET copy_examples PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E + copy ${example_file} ${PROJECT_BINARY_DIR}/examples) +endforeach() + add_custom_target(examples - DEPENDS doxygen + DEPENDS doxygen copy_examples ${PROJECT_BINARY_DIR}/html/examples/class/html/index.html ${PROJECT_BINARY_DIR}/html/examples/define/html/index.html ${PROJECT_BINARY_DIR}/html/examples/enum/html/index.html diff --git a/examples/class.h b/examples/class.h index e5a9121..b40b186 100644 --- a/examples/class.h +++ b/examples/class.h @@ -7,5 +7,5 @@ class Test /*! \class Test class.h "inc/class.h" * \brief This is a test class. * - * Some details about the Test class + * Some details about the Test class. */ |