cppcheck/man/CMakeLists.txt

18 lines
496 B
CMake

# Build Docbook manual
# Run 'make html' to build manual
set(DOC_TARGETS "html")
if(CYGWIN)
# Build also htmlhelp in Cygwin - this can be used to build
# htmlhelp manual for Windows.
set(DOC_TARGETS ${DOC_TARGETS} "htmlhelp")
endif()
if(UNIX OR CYGWIN)
# Build manual in Linux/Cygwin - xmlto is not available in Windows
# daniel: I don't want to have extra dependencies for Cppcheck
# find_package(XmlTo REQUIRED)
# xmlto("" "manual.docbook" MODES ${DOC_TARGETS})
endif()