llvm-project/llvm/lib/Target/CMakeLists.txt

19 lines
393 B
CMake
Raw Normal View History

list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
add_llvm_library(LLVMTarget
Target.cpp
2009-07-22 01:43:20 +08:00
TargetIntrinsicInfo.cpp
TargetLoweringObjectFile.cpp
TargetMachine.cpp
TargetMachineC.cpp
TargetSubtargetInfo.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/Target
)
foreach(t ${LLVM_TARGETS_TO_BUILD})
message(STATUS "Targeting ${t}")
add_subdirectory(${t})
endforeach()