Browse Source

add doxygen-docs target to build system

pull/1/head
Dick Hollenbeck 16 years ago
parent
commit
6eb66721c9
  1. 12
      CMakeLists.txt
  2. 5
      Doxyfile

12
CMakeLists.txt

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

@ -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…
Cancel
Save