From 12647eb3f529880e882c9bc5cb88ffdbf51f851f Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Mon, 11 Oct 2010 21:22:34 +0000 Subject: [PATCH] Reduce dpendencies for SupportTests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116235 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/CMakeLists.txt | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 2337fe25ef5..8a5a367794b 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -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 - ) -- 2.34.1