Give APInt move semantics.
[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   APSIntTest.cpp
9   ArrayRefTest.cpp
10   BitVectorTest.cpp
11   DAGDeltaAlgorithmTest.cpp
12   DeltaAlgorithmTest.cpp
13   DenseMapTest.cpp
14   DenseSetTest.cpp
15   FoldingSet.cpp
16   HashingTest.cpp
17   ilistTest.cpp
18   ImmutableMapTest.cpp
19   ImmutableSetTest.cpp
20   IntEqClassesTest.cpp
21   IntervalMapTest.cpp
22   IntrusiveRefCntPtrTest.cpp
23   MapVectorTest.cpp
24   OptionalTest.cpp
25   OwningPtrTest.cpp
26   PackedVectorTest.cpp
27   PointerUnionTest.cpp
28   SCCIteratorTest.cpp
29   SmallPtrSetTest.cpp
30   SmallStringTest.cpp
31   SmallVectorTest.cpp
32   SparseBitVectorTest.cpp
33   SparseMultiSetTest.cpp
34   SparseSetTest.cpp
35   StringMapTest.cpp
36   StringRefTest.cpp
37   TinyPtrVectorTest.cpp
38   TripleTest.cpp
39   TwineTest.cpp
40   VariadicFunctionTest.cpp
41   polymorphic_ptr_test.cpp
42  )
43
44 # They cannot be compiled on MSVC9 due to its bug.
45 if(MSVC AND MSVC_VERSION LESS 1600)
46   set(LLVM_OPTIONAL_SOURCES
47     DenseMapTest.cpp
48     SmallVectorTest.cpp
49     )
50   list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
51 endif()
52
53 add_llvm_unittest(ADTTests
54   ${ADTSources}
55   )