Added a unit test for r173983 that verifies that Target.isiOS() works correctly.
[oota-llvm.git] / unittests / ADT / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 set(ADTSources
6   APFloatTest.cpp
7   APIntTest.cpp
8   BitVectorTest.cpp
9   DAGDeltaAlgorithmTest.cpp
10   DeltaAlgorithmTest.cpp
11   DenseMapTest.cpp
12   DenseSetTest.cpp
13   FoldingSet.cpp
14   HashingTest.cpp
15   ilistTest.cpp
16   ImmutableMapTest.cpp
17   ImmutableSetTest.cpp
18   IntEqClassesTest.cpp
19   IntervalMapTest.cpp
20   IntrusiveRefCntPtrTest.cpp
21   MapVectorTest.cpp
22   PackedVectorTest.cpp
23   SCCIteratorTest.cpp
24   SmallPtrSetTest.cpp
25   SmallStringTest.cpp
26   SmallVectorTest.cpp
27   SparseBitVectorTest.cpp
28   SparseMultiSetTest.cpp
29   SparseSetTest.cpp
30   StringMapTest.cpp
31   StringRefTest.cpp
32   TinyPtrVectorTest.cpp
33   TripleTest.cpp
34   TwineTest.cpp
35   VariadicFunctionTest.cpp
36  )
37
38 # They cannot be compiled on MSVC9 due to its bug.
39 if(MSVC AND MSVC_VERSION LESS 1600)
40   set(LLVM_OPTIONAL_SOURCES
41     DenseMapTest.cpp
42     SmallVectorTest.cpp
43     )
44   list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
45 endif()
46
47 add_llvm_unittest(ADTTests
48   ${ADTSources}
49   )