summaryrefslogtreecommitdiff
path: root/lib/Target/CMakeLists.txt
blob: 06a74d7208100dec74466d24d688f5937339d485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
add_llvm_library(LLVMTarget
  Target.cpp
  TargetIntrinsicInfo.cpp
  TargetJITInfo.cpp
  TargetLibraryInfo.cpp
  TargetLoweringObjectFile.cpp
  TargetMachine.cpp
  TargetMachineC.cpp
  TargetSubtargetInfo.cpp
  )

list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)

foreach(t ${LLVM_TARGETS_TO_BUILD})
  message(STATUS "Targeting ${t}")
  add_subdirectory(${t})
endforeach()