add doxygen-docs target to build system
This commit is contained in:
parent
02b88a7016
commit
6eb66721c9
|
@ -196,6 +196,18 @@ add_subdirectory(bitmap2component)
|
|||
add_subdirectory(demos)
|
||||
add_subdirectory(template)
|
||||
|
||||
#================================================
|
||||
# Doxygen Output
|
||||
#================================================
|
||||
find_package(Doxygen)
|
||||
if(DOXYGEN_FOUND)
|
||||
add_custom_target( doxygen-docs ${DOXYGEN_EXECUTABLE}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DEPENDS Doxyfile )
|
||||
else(DOXYGEN_FOUND)
|
||||
message( STATUS "WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created" )
|
||||
endif()
|
||||
|
||||
|
||||
#================================================
|
||||
# Installation parameters
|
||||
|
|
5
Doxyfile
5
Doxyfile
|
@ -85,7 +85,8 @@ INPUT = kicad \
|
|||
gerbview \
|
||||
share \
|
||||
include \
|
||||
polygon
|
||||
polygon \
|
||||
potrace
|
||||
INPUT_ENCODING = UTF-8
|
||||
FILE_PATTERNS = *.h \
|
||||
*.cpp
|
||||
|
@ -122,7 +123,7 @@ IGNORE_PREFIX =
|
|||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = doxygen
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER =
|
||||
HTML_FOOTER =
|
||||
|
|
Loading…
Reference in New Issue