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()