Rewrite the CMake build to use explicit dependencies between libraries,
[oota-llvm.git] / lib / Target / PowerPC / MCTargetDesc / CMakeLists.txt
1 add_llvm_library(LLVMPowerPCDesc
2   PPCAsmBackend.cpp
3   PPCMCTargetDesc.cpp
4   PPCMCAsmInfo.cpp
5   PPCMCCodeEmitter.cpp
6   PPCPredicates.cpp
7   )
8
9 add_llvm_library_dependencies(LLVMPowerPCDesc
10   LLVMMC
11   LLVMPowerPCAsmPrinter
12   LLVMPowerPCInfo
13   LLVMSupport
14   )
15
16 add_dependencies(LLVMPowerPCDesc PowerPCCommonTableGen)