gnucash/libgnucash/doc/CMakeLists.txt
Geert Janssens a9f35ed7ae Lowercase cmake commands
A huge bikeshed fest but it distracted me enough to do it anyway.
2018-05-03 23:18:15 +02:00

46 lines
1.1 KiB
CMake

if (NOT WIN32)
add_subdirectory(design)
endif()
add_subdirectory(xml)
set(doc_FILES
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
)
set_local_dist(doc_DIST_local CMakeLists.txt ${doc_FILES})
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()