cppcheck/man/CMakeLists.txt

18 lines
496 B
CMake
Raw Normal View History

# Build Docbook manual
# Run 'make html' to build manual
2011-03-25 07:14:53 +01:00
set(DOC_TARGETS "html")
2011-03-25 07:14:53 +01:00
if(CYGWIN)
# Build also htmlhelp in Cygwin - this can be used to build
# htmlhelp manual for Windows.
set(DOC_TARGETS ${DOC_TARGETS} "htmlhelp")
endif()
2011-03-25 07:14:53 +01:00
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})
2011-03-25 07:14:53 +01:00
endif()