Add a C binding to the Target and TargetMachine classes to allow for emitting
[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   TargetJITInfo.cpp
9   TargetLibraryInfo.cpp
10   TargetLoweringObjectFile.cpp
11   TargetMachine.cpp
12   TargetMachineC.cpp
13   TargetRegisterInfo.cpp
14   TargetSubtargetInfo.cpp
15   )
16
17 foreach(t ${LLVM_TARGETS_TO_BUILD})
18   message(STATUS "Targeting ${t}")
19   add_subdirectory(${t})
20 endforeach()