2017-10-25 13:30:41 -05:00
|
|
|
if (NOT WIN32)
|
2018-05-03 16:18:15 -05:00
|
|
|
add_subdirectory(design)
|
2017-10-22 13:51:26 -05:00
|
|
|
endif()
|
2018-05-03 16:18:15 -05:00
|
|
|
add_subdirectory(xml)
|
2017-02-01 21:48:46 -06:00
|
|
|
|
2018-05-03 16:18:15 -05:00
|
|
|
set(doc_FILES
|
2017-02-01 21:48:46 -06:00
|
|
|
backup.txt
|
|
|
|
books.txt
|
|
|
|
budget.txt
|
|
|
|
# business.txt
|
|
|
|
callgrind.txt
|
|
|
|
constderv.html
|
|
|
|
# constraints.txt
|
|
|
|
currencies.txt
|
|
|
|
doxygen.cfg.in
|
|
|
|
doxygen_main_page.c
|
|
|
|
# engine.txt
|
|
|
|
finderv.html
|
|
|
|
finutil.html
|
|
|
|
# g2-architecture.txt
|
|
|
|
generic-druid-framework.txt
|
|
|
|
# gnc-numeric-example.txt
|
|
|
|
guid.txt
|
|
|
|
loans.txt
|
|
|
|
lots.txt
|
|
|
|
multicurrency-discussion.txt
|
|
|
|
# prices.txt
|
|
|
|
python-bindings-doxygen.py
|
|
|
|
qif.txt
|
|
|
|
README
|
|
|
|
# sx.rst
|
|
|
|
tax.txt
|
|
|
|
TODO-schedxactions
|
|
|
|
TODO-sixtp
|
|
|
|
user-prefs-howto.txt
|
|
|
|
)
|
|
|
|
|
2018-05-03 16:18:15 -05:00
|
|
|
set_local_dist(doc_DIST_local CMakeLists.txt ${doc_FILES})
|
|
|
|
set(doc_DIST ${doc_DIST_local} ${doc_design_DIST} ${doc_xml_DIST} PARENT_SCOPE)
|
2017-02-01 21:48:46 -06:00
|
|
|
|
2018-01-25 15:20:28 -06:00
|
|
|
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()
|