summaryrefslogtreecommitdiff
path: root/docs/doxygen/CMakeLists.txt
diff options
context:
space:
mode:
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
+ )
+