Merging r261441, r261447, and r261546:
[oota-llvm.git] / lib / Target / CMakeLists.txt
1 list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
2
3 add_llvm_library(LLVMTarget
4   Target.cpp
5   TargetIntrinsicInfo.cpp
6   TargetLoweringObjectFile.cpp
7   TargetMachine.cpp
8   TargetMachineC.cpp
9   TargetRecip.cpp
10   TargetSubtargetInfo.cpp
11
12   ADDITIONAL_HEADER_DIRS
13   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Target
14   )
15
16 foreach(t ${LLVM_TARGETS_TO_BUILD})
17   message(STATUS "Targeting ${t}")
18   add_subdirectory(${t})
19 endforeach()