blob: 04eabf0b9eeb7526a45fbc224f208d77e628359c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
set(LLVM_LINK_COMPONENTS
asmparser
analysis
core
ipa
target
)
set(VMCoreSources
ConstantsTest.cpp
DominatorTreeTest.cpp
InstructionsTest.cpp
MetadataTest.cpp
PassManagerTest.cpp
ValueMapTest.cpp
VerifierTest.cpp
)
# MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug.
# See issue#331418 in Visual Studio.
if(MSVC AND MSVC_VERSION LESS 1600)
list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
endif()
add_llvm_unittest(VMCoreTests
${VMCoreSources}
)
|