mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add doxygen target.
This commit is contained in:
parent
709787dafa
commit
34cc103e94
@ -35,6 +35,11 @@ SET(doc_FILES
|
|||||||
user-prefs-howto.txt
|
user-prefs-howto.txt
|
||||||
)
|
)
|
||||||
|
|
||||||
SET_LOCAL_DIST(doc_DIST_local CMakeLists.txt ${doc_FILES})
|
SET_LOCAL_DIST(doc_DIST_local CMakeLists.txt Makefile.am ${doc_FILES})
|
||||||
SET(doc_DIST ${doc_DIST_local} ${doc_design_DIST} ${doc_xml_DIST} PARENT_SCOPE)
|
SET(doc_DIST ${doc_DIST_local} ${doc_design_DIST} ${doc_xml_DIST} PARENT_SCOPE)
|
||||||
|
|
||||||
|
find_program(DOXYGEN doxygen)
|
||||||
|
if (NOT ${DOXYGEN} STREQUAL "DOXYGEN-NOTFOUND")
|
||||||
|
configure_file(doxygen.cfg.in doxygen.cfg)
|
||||||
|
add_custom_target(doc ${DOXYGEN} doxygen.cfg)
|
||||||
|
endif()
|
||||||
|
@ -652,8 +652,11 @@ WARN_LOGFILE = doxygen.log
|
|||||||
# directories like "/usr/src/myproject". Separate the files or directories
|
# directories like "/usr/src/myproject". Separate the files or directories
|
||||||
# with spaces.
|
# with spaces.
|
||||||
|
|
||||||
INPUT = @top_srcdir@/libgnucash \
|
INPUT = ${CMAKE_SOURCE_DIR}/libgnucash \
|
||||||
@top_srcdir@/libgnucash/engine/
|
${CMAKE_SOURCE_DIR}/gnucash \
|
||||||
|
${CMAKE_SOURCE_DIR}/common \
|
||||||
|
${CMAKE_SOURCE_DIR}/bindings \
|
||||||
|
${CMAKE_SOURCE_DIR}/libgnucash/engine/
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
|
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
|
||||||
@ -1548,7 +1551,7 @@ SEARCH_INCLUDES = YES
|
|||||||
# contain include files that are not input files but should be processed by
|
# contain include files that are not input files but should be processed by
|
||||||
# the preprocessor.
|
# the preprocessor.
|
||||||
|
|
||||||
INCLUDE_PATH = @top_srcdir@/libgnucash/engine/
|
INCLUDE_PATH = ${CMAKE_SOURCE_DIR}/libgnucash/engine/
|
||||||
|
|
||||||
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
|
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
|
||||||
# patterns (like *.h and *.hpp) to filter out the header-files in the
|
# patterns (like *.h and *.hpp) to filter out the header-files in the
|
||||||
|
Loading…
Reference in New Issue
Block a user