aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-09-22 18:21:51 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-09-22 18:21:51 +0000
commit6883aa62053020e06315dc18637c92c1ec218086 (patch)
tree2752be1ff0b403aec9e208ef2e58e8678baa7d47 /tools/llvm-config
parent11c34297585ebbbefc91421394c70dab368a497e (diff)
downloadexternal_llvm-6883aa62053020e06315dc18637c92c1ec218086.zip
external_llvm-6883aa62053020e06315dc18637c92c1ec218086.tar.gz
external_llvm-6883aa62053020e06315dc18637c92c1ec218086.tar.bz2
CMake build system: support for parallel builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r--tools/llvm-config/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt
index 2d6898c..bf8debb 100644
--- a/tools/llvm-config/CMakeLists.txt
+++ b/tools/llvm-config/CMakeLists.txt
@@ -69,7 +69,6 @@ set(LLVM_CONFIG_IN ${CMAKE_CURRENT_BINARY_DIR}/llvm-config.in)
add_custom_command(OUTPUT ${LIBDEPS_TMP}
COMMAND ${PERL_EXECUTABLE} ${LLVM_MAIN_SRC_DIR}/utils/GenLibDeps.pl -flat ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} > ${LIBDEPS_TMP}
- DEPENDS ${llvm_libs}
COMMENT "Regenerating ${LIBDEPS_TMP}")
add_custom_command(OUTPUT ${LIBDEPS}
@@ -99,4 +98,6 @@ add_custom_command(OUTPUT ${LLVM_CONFIG}
)
add_custom_target(llvm-config.target ALL
- DEPENDS ${LLVM_CONFIG}) \ No newline at end of file
+ DEPENDS ${LLVM_CONFIG})
+
+add_dependencies(llvm-config.target ${llvm_lib_targets})