X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=1745dc8706708dae0d29ba3bbee236298c648657;hp=9d7f9b680ddfcc34e261e550168d90a63ca18b57;hb=18bae9b40640804d0a35e9dca6787d6c34c66703;hpb=61a6bac98bbac623fb33b6153a063b6436f84721 diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d7f9b6..1745dc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,11 +137,16 @@ if ( DOCUMENTATION ) OUTPUT ${CMAKE_BINARY_DIR}/doc/html/index.html COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile + COMMENT "Generating API documentation" DEPENDS ${c_headers};${c_sources};${cpp_sources};${cpp_headers} ) - add_custom_target(docs ALL DEPENDS ${CMAKE_BINARY_DIR}/doc/html/index.html) -endif () + add_custom_target( + docs ALL + COMMENT "Documentation target docs" + DEPENDS ${CMAKE_BINARY_DIR}/doc/html/index.html + ) +endif ( DOCUMENTATION ) add_subdirectory(src) if ( FTDIPP )