comparison doc/CMakeLists.txt @ 66:098a10fc2e83 0.9.2

Add doxygen files and improve doxygen comments
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 21 May 2015 15:21:47 +0200
parents
children
comparison
equal deleted inserted replaced
65:508a71328d1f 66:098a10fc2e83
1 # Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
2 # Software engineering by Intevation GmbH
3 #
4 # This file is Free Software under the GNU GPL (v>=2)
5 # and comes with ABSOLUTELY NO WARRANTY!
6 # See LICENSE.txt for details.
7
8 include (FindDoxygen)
9
10 set_directory_properties (PROPERTIES CLEAN_NO_CUSTOM true)
11 set_directory_properties (PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ".built-html")
12
13 if (NOT DOXYGEN_EXECUTABLE)
14 message (STATUS "WARNING: Doxygen is required to build the docs.")
15 else()
16 add_custom_target (doc COMMENT "Building documentation..."
17 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/.built-html)
18 endif()
19
20 add_custom_command (OUTPUT .built-html
21 COMMAND sh
22 ARGS -c \"${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile && touch ${CMAKE_CURRENT_BINARY_DIR}/.built-html\;\"
23 ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
24 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)