"Fossies" - the Fresh Open Source Software Archive

Member "gvm-libs-11.0.1/doc/CMakeLists.txt" (12 May 2020, 2203 Bytes) of package /linux/misc/openvas/gvm-libs-11.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 1.0-beta2_vs_1.0.0.

    1 # Copyright (C) 2011-2019 Greenbone Networks GmbH
    2 #
    3 # SPDX-License-Identifier: GPL-2.0-or-later
    4 #
    5 # This program is free software; you can redistribute it and/or
    6 # modify it under the terms of the GNU General Public License
    7 # as published by the Free Software Foundation; either version 2
    8 # of the License, or (at your option) any later version.
    9 #
   10 # This program is distributed in the hope that it will be useful,
   11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13 # GNU General Public License for more details.
   14 #
   15 # You should have received a copy of the GNU General Public License
   16 # along with this program; if not, write to the Free Software
   17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
   18 
   19 ## build
   20 
   21 include (FindDoxygen)
   22 
   23 if (NOT DOXYGEN_EXECUTABLE)
   24   message (STATUS "WARNING: Doxygen is required to build the HTML docs.")
   25 else (NOT DOXYGEN_EXECUTABLE)
   26   add_custom_target (doc COMMENT "Building documentation..."
   27     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/.built-html)
   28 
   29   add_custom_command (OUTPUT .built-html
   30     COMMAND sh
   31     ARGS -c \"${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile && touch ${CMAKE_CURRENT_BINARY_DIR}/.built-html\;\"
   32     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
   33 
   34   add_custom_target (doc-full COMMENT "Building documentation..."
   35     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_full ${CMAKE_CURRENT_BINARY_DIR}/.built-html_full)
   36 
   37   add_custom_command (OUTPUT .built-html_full
   38     COMMAND sh
   39     ARGS -c \"${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_full && touch ${CMAKE_CURRENT_BINARY_DIR}/.built-html_full\;\"
   40     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_full)
   41 
   42   add_custom_target (doc-xml COMMENT "Building documentation (XML)..."
   43     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_xml ${CMAKE_CURRENT_BINARY_DIR}/.built-xml)
   44 
   45   add_custom_command (OUTPUT .built-xml
   46     COMMAND sh
   47     ARGS -c \"${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_xml && touch ${CMAKE_CURRENT_BINARY_DIR}/.built-xml\;\"
   48     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_xml)
   49 endif (NOT DOXYGEN_EXECUTABLE)