add doxygen-docs target to build system

This commit is contained in:
Dick Hollenbeck 2010-06-12 23:10:16 -05:00
parent 02b88a7016
commit 6eb66721c9
2 changed files with 55 additions and 42 deletions

View File

@ -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

View File

@ -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 =