"Fossies" - the Fresh Open Source Software Archive

Member "netcdf-cxx4-4.3.1/docs/CMakeLists.txt" (11 Sep 2019, 809 Bytes) of package /linux/misc/netcdf-cxx4-4.3.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.

    1 ######
    2 # Build doxygen documentation if need be.
    3 ######
    4 
    5 IF(ENABLE_DOXYGEN)
    6 
    7   FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*)
    8   FILE(COPY ${COPY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
    9 
   10   ##
   11   # Set some configuration variables so that they
   12   # are redundant with autotools.
   13   ##
   14   SET(abs_top_srcdir ${CMAKE_CURRENT_SOURCE_DIR}/..)
   15   SET(abs_builddir ${CMAKE_CURRENT_BINARY_DIR})
   16 
   17   ##
   18   # Create general doxyfiles
   19   ##
   20   CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
   21     ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
   22 
   23   ##
   24   # Generate User Documentation
   25   ##
   26   ADD_CUSTOM_TARGET(doc_all ALL
   27     ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
   28     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
   29     COMMENT "Generating CXX4 API Documentation" VERBATIM)
   30 
   31 ENDIF(ENABLE_DOXYGEN)