CMake: forces rebuild of llvm-config's library dependency info when a

library is added or changed.

llvm-svn: 59051
This commit is contained in:
Oscar Fuentes 2008-11-11 17:10:58 +00:00
parent a08c2905ad
commit 93bf988701
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ endif()
add_custom_command(OUTPUT ${LIBDEPS_TMP}
COMMAND ${PERL_EXECUTABLE} ${LLVM_MAIN_SRC_DIR}/utils/GenLibDeps.pl -flat ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} ${NM_PATH} > ${LIBDEPS_TMP}
DEPENDS ${llvm_libs}
COMMENT "Regenerating ${LIBDEPS_TMP}")
add_custom_command(OUTPUT ${LIBDEPS}