File: CMakeLists.txt

package info (click to toggle)
superlu 7.0.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,292 kB
  • sloc: ansic: 59,338; makefile: 413; csh: 141; f90: 125; fortran: 77
file content (28 lines) | stat: -rw-r--r-- 926 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# build HTML documentation using Doxygen

find_package(Doxygen)
set_package_properties("Doxygen" PROPERTIES
  DESCRIPTION "Documentation generator"
  URL "www.doxygen.org"
  PURPOSE "Generate HTML documentation from C sources")

# set Doxygen options
set(DOXYGEN_WARN_LOGFILE "doxygen.log")

# build documentation for target "all" if enable_doc is set
if(enable_doc)
  set(_DEPENDENCY_ALL "ALL")
endif()

if(DOXYGEN_FOUND)
  doxygen_add_docs(doc
                  "${CMAKE_CURRENT_SOURCE_DIR}/mainpage.txt"
                  "${CMAKE_CURRENT_SOURCE_DIR}/modules.txt"
                  "${PROJECT_SOURCE_DIR}/EXAMPLE"
                  "${PROJECT_SOURCE_DIR}/SRC"
                  "${PROJECT_SOURCE_DIR}/TESTING"
                  "${_DEPENDENCY_ALL}"
                  COMMENT "Generate HTML documentation with Doxygen")
elseif(enable_doc)
  message(WARNING "Disabling building documentation as Doxygen is missing.")
endif()