Rewrite the CMake build to use explicit dependencies between libraries,
[oota-llvm.git] / lib / Transforms / Utils / CMakeLists.txt
1 add_llvm_library(LLVMTransformUtils
2   AddrModeMatcher.cpp
3   BasicBlockUtils.cpp
4   BasicInliner.cpp
5   BreakCriticalEdges.cpp
6   BuildLibCalls.cpp
7   CloneFunction.cpp
8   CloneModule.cpp
9   CodeExtractor.cpp
10   DemoteRegToStack.cpp
11   InlineFunction.cpp
12   InstructionNamer.cpp
13   LCSSA.cpp
14   Local.cpp
15   LoopSimplify.cpp
16   LoopUnroll.cpp
17   LowerExpectIntrinsic.cpp
18   LowerInvoke.cpp
19   LowerSwitch.cpp
20   Mem2Reg.cpp
21   PromoteMemoryToRegister.cpp
22   SSAUpdater.cpp
23   SimplifyCFG.cpp
24   SimplifyInstructions.cpp
25   UnifyFunctionExitNodes.cpp
26   Utils.cpp
27   ValueMapper.cpp
28   )
29
30 add_llvm_library_dependencies(LLVMTransformUtils
31   LLVMAnalysis
32   LLVMCore
33   LLVMSupport
34   LLVMTarget
35   LLVMipa
36   )