Reduce dpendencies for SupportTests.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 11 Oct 2010 21:22:34 +0000 (21:22 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 11 Oct 2010 21:22:34 +0000 (21:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116235 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/CMakeLists.txt

index 2337fe25ef51b7b44b356d6189f2561b88933e7a..8a5a367794bd9977eafd253685987b617d2d36cb 100644 (file)
@@ -66,6 +66,25 @@ add_llvm_unittest(JIT
   ExecutionEngine/JIT/MultiJITTest.cpp
   )
 
+add_llvm_unittest(Transforms
+  Transforms/Utils/Cloning.cpp
+  )
+
+add_llvm_unittest(VMCore
+  VMCore/ConstantsTest.cpp
+  VMCore/DerivedTypesTest.cpp
+  VMCore/InstructionsTest.cpp
+  VMCore/MetadataTest.cpp
+  VMCore/PassManagerTest.cpp
+  VMCore/VerifierTest.cpp
+  )
+
+set(LLVM_LINK_COMPONENTS
+  System
+  Support
+  Core
+  )
+
 add_llvm_unittest(Support
   Support/AllocatorTest.cpp
   Support/Casting.cpp
@@ -80,16 +99,3 @@ add_llvm_unittest(Support
   Support/TypeBuilderTest.cpp
   Support/ValueHandleTest.cpp
   )
-
-add_llvm_unittest(Transforms
-  Transforms/Utils/Cloning.cpp
-  )
-
-add_llvm_unittest(VMCore
-  VMCore/ConstantsTest.cpp
-  VMCore/DerivedTypesTest.cpp
-  VMCore/InstructionsTest.cpp
-  VMCore/MetadataTest.cpp
-  VMCore/PassManagerTest.cpp
-  VMCore/VerifierTest.cpp
-  )