llvm-c: Make target initializer functions external functions in lib.
[oota-llvm.git] / lib / Target / CMakeLists.txt
1 add_llvm_library(LLVMTarget
2   AllTargets.cpp
3   Mangler.cpp
4   Target.cpp
5   TargetIntrinsicInfo.cpp
6   TargetJITInfo.cpp
7   TargetLibraryInfo.cpp
8   TargetLoweringObjectFile.cpp
9   TargetMachine.cpp
10   TargetMachineC.cpp
11   TargetSubtargetInfo.cpp
12   )
13
14 foreach(t ${LLVM_TARGETS_TO_BUILD})
15   message(STATUS "Targeting ${t}")
16   add_subdirectory(${t})
17 endforeach()