mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
CMake: Improved COMMENT on a custom command
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1d81e0eed3
commit
99f918cb87
@ -78,7 +78,7 @@ add_custom_command(OUTPUT ${LIBDEPS_TMP}
|
||||
add_custom_command(OUTPUT ${LIBDEPS}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${LIBDEPS_TMP} ${LIBDEPS}
|
||||
DEPENDS ${LIBDEPS_TMP}
|
||||
COMMENT "Updated ${LIBDEPS} because dependencies changed")
|
||||
COMMENT "Updating ${LIBDEPS} if necessary...")
|
||||
|
||||
add_custom_command(OUTPUT ${FINAL_LIBDEPS}
|
||||
COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/find-cycles.pl < ${LIBDEPS} > ${FINAL_LIBDEPS} || ${CMAKE_COMMAND} -E remove -f ${FINAL_LIBDEPS}
|
||||
|
Loading…
Reference in New Issue
Block a user