Mercurial > trustbridge
comparison doc/apidoc/CMakeLists.txt @ 1184:cf1fdb254c41
Moved help pages from 'manuals' to 'doc/help'.
Updated .hgignore.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Mon, 22 Sep 2014 13:02:11 +0200 |
parents | doc/CMakeLists.txt@35d6b371ba63 |
children |
comparison
equal
deleted
inserted
replaced
1183:3e4ac23938e1 | 1184:cf1fdb254c41 |
---|---|
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 ) |