Skip to content

Commit

Permalink
Make target warnings visible in ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Eilemann authored and Stefan Eilemann committed May 1, 2015
1 parent 931bf29 commit 924653f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DoxygenRule.cmake
Expand Up @@ -142,11 +142,13 @@ if(GIT_DOCUMENTATION_REPO)
DEPENDS ${PROJECT_NAME}_doxygen VERBATIM)
else()
add_custom_target(${PROJECT_NAME}_doxycopy
COMMENT "doxycopy target not available, missing ${_GIT_DOC_SRC_DIR}")
COMMAND ${CMAKE_COMMAND} -E echo
"doxycopy target not available, missing ${_GIT_DOC_SRC_DIR}")
endif()
else()
add_custom_target(${PROJECT_NAME}_doxycopy
COMMENT "doxycopy target not available, missing GIT_DOCUMENTATION_REPO")
COMMAND ${CMAKE_COMMAND} -E echo
"doxycopy target not available, missing GIT_DOCUMENTATION_REPO for ${PROJECT_NAME}")
endif()

if(NOT TARGET doxycopy)
Expand Down

0 comments on commit 924653f

Please sign in to comment.