Commit 6eb66721 authored by Dick Hollenbeck's avatar Dick Hollenbeck

add doxygen-docs target to build system

parent 02b88a70
...@@ -196,6 +196,18 @@ add_subdirectory(bitmap2component) ...@@ -196,6 +196,18 @@ add_subdirectory(bitmap2component)
add_subdirectory(demos) add_subdirectory(demos)
add_subdirectory(template) 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 # Installation parameters
......
...@@ -85,7 +85,8 @@ INPUT = kicad \ ...@@ -85,7 +85,8 @@ INPUT = kicad \
gerbview \ gerbview \
share \ share \
include \ include \
polygon polygon \
potrace
INPUT_ENCODING = UTF-8 INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.h \ FILE_PATTERNS = *.h \
*.cpp *.cpp
...@@ -122,7 +123,7 @@ IGNORE_PREFIX = ...@@ -122,7 +123,7 @@ IGNORE_PREFIX =
# configuration options related to the HTML output # configuration options related to the HTML output
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
GENERATE_HTML = YES GENERATE_HTML = YES
HTML_OUTPUT = doxygen HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html HTML_FILE_EXTENSION = .html
HTML_HEADER = HTML_HEADER =
HTML_FOOTER = HTML_FOOTER =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment