summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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
commit1d8e4cfdb71d7055561a130a5844c5d093aa5ee8 (patch)
tree2752be1ff0b403aec9e208ef2e58e8678baa7d47 /CMakeLists.txt
parent242ebd145dea945364b4fa6ca6a187efe322036d (diff)
downloadexternal_llvm-1d8e4cfdb71d7055561a130a5844c5d093aa5ee8.zip
external_llvm-1d8e4cfdb71d7055561a130a5844c5d093aa5ee8.tar.gz
external_llvm-1d8e4cfdb71d7055561a130a5844c5d093aa5ee8.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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6803d9..31f754a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,6 +97,10 @@ include(AddPartiallyLinkedObject)
add_subdirectory(lib/Support)
add_subdirectory(lib/System)
+
+# Everything else depends on Support and System:
+set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} ${LLVM_LIBS} )
+
add_subdirectory(utils/TableGen)
add_custom_command(OUTPUT ${llvm_builded_incs_dir}/Intrinsics.gen
@@ -107,6 +111,8 @@ add_custom_command(OUTPUT ${llvm_builded_incs_dir}/Intrinsics.gen
add_custom_target(intrinsics_gen ALL
DEPENDS ${llvm_builded_incs_dir}/Intrinsics.gen)
+set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} intrinsics_gen )
+
add_subdirectory(lib/VMCore)
add_subdirectory(lib/CodeGen)
add_subdirectory(lib/CodeGen/SelectionDAG)