Update list of wide characters
[centerim5.git] / doc / CMakeLists.txt
blobe866c2db90278fa22343ba8b4c479d5ed23b1e4f
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)
4   unset(top_srcdir)
6   add_custom_target(doc VERBATIM
7     COMMAND "${DOXYGEN_EXECUTABLE}" doxygen-cppconsui.conf)
9 else()
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"
16     COMMAND false)
17 endif()