diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:30 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:30 +0200 |
commit | a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (patch) | |
tree | e469179df67a0e0db49161a43cbf8076a189f6f4 /docs/doxygen/CMakeLists.txt | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
New upstream version 5.3.0GAupstream/5.3.0GAupstream
Diffstat (limited to 'docs/doxygen/CMakeLists.txt')
-rw-r--r-- | docs/doxygen/CMakeLists.txt | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/doxygen/CMakeLists.txt b/docs/doxygen/CMakeLists.txt index 8ccbc65..5f2ac40 100644 --- a/docs/doxygen/CMakeLists.txt +++ b/docs/doxygen/CMakeLists.txt @@ -1,18 +1,23 @@ -PROJECT(doxygen) +project(sourcedoc) -INCLUDE(FindDoxygen) +# +# create source documentation using Doxygen -IF(WIN32) - SET( XTrkCAD_WLIB_DIR +find_package(Doxygen + REQUIRED +) + +if(WIN32) + set( XTrkCAD_WLIB_DIR "mswlib" ) -ELSE(WIN32) +else(WIN32) SET( XTrkCAD_WLIB_DIR "gtklib" ) -ENDIF(WIN32) +endif(WIN32) -CONFIGURE_FILE(${doxygen_SOURCE_DIR}/Doxyfile.in ${doxygen_BINARY_DIR}/Doxyfile) +configure_file(${sourcedoc_SOURCE_DIR}/Doxyfile.in ${sourcedoc_BINARY_DIR}/Doxyfile) -ADD_CUSTOM_TARGET(docs-doxygen - COMMAND ${DOXYGEN_EXECUTABLE} ${doxygen_BINARY_DIR}/Doxyfile +add_custom_target(docs-doxygen + COMMAND ${DOXYGEN_EXECUTABLE} ${sourcedoc_BINARY_DIR}/Doxyfile ) |