diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
commit | df5520aa2dae5b3ce7abf8733dcdd152898af163 (patch) | |
tree | 00d3047bfb14f682bfb5a21010c731ed649bfed7 /docs/doxygen/CMakeLists.txt | |
parent | df247efec654e512242e4f4f1b0212034f9e01fe (diff) | |
parent | ec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff) |
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
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 ) |