1 if(DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND)
2 set(top_srcdir "${centerim5_SOURCE_DIR}")
3 configure_file(doxygen-cppconsui.conf.in doxygen-cppconsui.conf @ONLY)
6 add_custom_target(doc VERBATIM
7 COMMAND "${DOXYGEN_EXECUTABLE}" doxygen-cppconsui.conf)
10 add_custom_target(doc)
12 add_custom_command(TARGET doc POST_BUILD VERBATIM
13 COMMAND "${CMAKE_COMMAND}" -E echo "Documentation cannot be generated \
14 because required dependencies are missing, reconfigure the build and install \
15 the tools that are reported as needed for generating the documentation"