[Modules] Move the NoFolder into the IR library as it creates
[oota-llvm.git] / unittests / IR / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Analysis
3   AsmParser
4   Core
5   IPA
6   Support
7   )
8
9 set(IRSources
10   AttributesTest.cpp
11   ConstantsTest.cpp
12   DominatorTreeTest.cpp
13   IRBuilderTest.cpp
14   InstructionsTest.cpp
15   LegacyPassManagerTest.cpp
16   MDBuilderTest.cpp
17   MetadataTest.cpp
18   PassManagerTest.cpp
19   PatternMatch.cpp
20   TypeBuilderTest.cpp
21   TypesTest.cpp
22   ValueHandleTest.cpp
23   ValueMapTest.cpp
24   ValueTest.cpp
25   VerifierTest.cpp
26   WaymarkTest.cpp
27   )
28
29 # HACK: Declare a couple of source files as optionally compiled to satisfy the
30 # missing-file-checker in LLVM's weird CMake build.
31 set(LLVM_OPTIONAL_SOURCES
32   ValueMapTest.cpp
33   )
34
35 add_llvm_unittest(IRTests
36   ${IRSources}
37   )