aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/CMakeLists.txt32
1 files changed, 19 insertions, 13 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt
index 2337fe2..8a5a367 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
- )