Move parts of lib/Target that use CodeGen into lib/CodeGen.
[oota-llvm.git] / lib / Target / CMakeLists.txt
1 add_llvm_library(LLVMTarget
2   Mangler.cpp
3   Target.cpp
4   TargetData.cpp
5   TargetELFWriterInfo.cpp
6   TargetInstrInfo.cpp
7   TargetIntrinsicInfo.cpp
8   TargetLibraryInfo.cpp
9   TargetLoweringObjectFile.cpp
10   TargetMachine.cpp
11   TargetRegisterInfo.cpp
12   TargetSubtargetInfo.cpp
13   )
14
15 foreach(t ${LLVM_TARGETS_TO_BUILD})
16   message(STATUS "Targeting ${t}")
17   add_subdirectory(${t})
18 endforeach()