blob: 5f2ac40cc96047cade916a398a4a9e2a5cc5935e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
project(sourcedoc)
#
# create source documentation using Doxygen
find_package(Doxygen
REQUIRED
)
if(WIN32)
set( XTrkCAD_WLIB_DIR
"mswlib" )
else(WIN32)
SET( XTrkCAD_WLIB_DIR
"gtklib" )
endif(WIN32)
configure_file(${sourcedoc_SOURCE_DIR}/Doxyfile.in ${sourcedoc_BINARY_DIR}/Doxyfile)
add_custom_target(docs-doxygen
COMMAND ${DOXYGEN_EXECUTABLE} ${sourcedoc_BINARY_DIR}/Doxyfile
)
|