2015-02-01 08:55:32 +08:00
|
|
|
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
|
|
|
|
|
2008-09-22 09:08:49 +08:00
|
|
|
add_llvm_library(LLVMTarget
|
|
|
|
Target.cpp
|
2009-07-22 01:43:20 +08:00
|
|
|
TargetIntrinsicInfo.cpp
|
2009-07-28 11:13:23 +08:00
|
|
|
TargetLoweringObjectFile.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
TargetMachine.cpp
|
2012-04-11 18:25:24 +08:00
|
|
|
TargetMachineC.cpp
|
2015-06-04 09:32:35 +08:00
|
|
|
TargetRecip.cpp
|
2011-07-02 05:01:15 +08:00
|
|
|
TargetSubtargetInfo.cpp
|
2015-02-11 11:28:02 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Target
|
2008-09-22 09:08:49 +08:00
|
|
|
)
|
2011-02-19 06:06:14 +08:00
|
|
|
|
|
|
|
foreach(t ${LLVM_TARGETS_TO_BUILD})
|
|
|
|
message(STATUS "Targeting ${t}")
|
|
|
|
add_subdirectory(${t})
|
2011-11-05 03:04:42 +08:00
|
|
|
endforeach()
|