1list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
2
3add_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
16foreach(t ${LLVM_TARGETS_TO_BUILD})
17  message(STATUS "Targeting ${t}")
18  add_subdirectory(${t})
19endforeach()
20