add_llvm_library(LLVMTarget
- COFFTargetAsmInfo.cpp
- DarwinTargetAsmInfo.cpp
- SubtargetFeature.cpp
Target.cpp
- TargetAsmInfo.cpp
- TargetData.cpp
- TargetELFWriterInfo.cpp
- TargetFrameInfo.cpp
- TargetInstrInfo.cpp
TargetIntrinsicInfo.cpp
+ TargetLibraryInfo.cpp
TargetLoweringObjectFile.cpp
- TargetMachOWriterInfo.cpp
TargetMachine.cpp
- TargetRegisterInfo.cpp
- TargetSubtarget.cpp
+ TargetMachineC.cpp
+ TargetSubtargetInfo.cpp
)
-# TODO: Support other targets besides X86. See Makefile.
+list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+
+foreach(t ${LLVM_TARGETS_TO_BUILD})
+ message(STATUS "Targeting ${t}")
+ add_subdirectory(${t})
+endforeach()