summaryrefslogtreecommitdiff
path: root/docs/doxygen/CMakeLists.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
commit7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch)
tree686678532eefed525c242fd214d0cfb2914726c5 /docs/doxygen/CMakeLists.txt
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'docs/doxygen/CMakeLists.txt')
-rw-r--r--docs/doxygen/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/doxygen/CMakeLists.txt b/docs/doxygen/CMakeLists.txt
new file mode 100644
index 0000000..8ccbc65
--- /dev/null
+++ b/docs/doxygen/CMakeLists.txt
@@ -0,0 +1,18 @@
+PROJECT(doxygen)
+
+INCLUDE(FindDoxygen)
+
+IF(WIN32)
+ SET( XTrkCAD_WLIB_DIR
+ "mswlib" )
+ELSE(WIN32)
+ SET( XTrkCAD_WLIB_DIR
+ "gtklib" )
+ENDIF(WIN32)
+
+CONFIGURE_FILE(${doxygen_SOURCE_DIR}/Doxyfile.in ${doxygen_BINARY_DIR}/Doxyfile)
+
+ADD_CUSTOM_TARGET(docs-doxygen
+ COMMAND ${DOXYGEN_EXECUTABLE} ${doxygen_BINARY_DIR}/Doxyfile
+ )
+