X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FCMakeLists.txt;h=e6d0199952f403c6c998fa70d95b816441997466;hp=7cffd0e53c17892c861d5e320d7fcad333703194;hb=257fc78e070c4b644d0b732a2c1c8e2befa52513;hpb=d00d4159d4fb7208cd4207a3d1e4ccf5bc02f74f diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index 7cffd0e53c1..e6d0199952f 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -1,18 +1,19 @@ +list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen) + add_llvm_library(LLVMTarget - DarwinTargetAsmInfo.cpp - ELFTargetAsmInfo.cpp - SubtargetFeature.cpp Target.cpp - TargetAsmInfo.cpp - TargetData.cpp - TargetELFWriterInfo.cpp - TargetFrameInfo.cpp - TargetInstrInfo.cpp - TargetMachOWriterInfo.cpp + TargetIntrinsicInfo.cpp + TargetLoweringObjectFile.cpp TargetMachine.cpp - TargetMachineRegistry.cpp - TargetRegisterInfo.cpp - TargetSubtarget.cpp + TargetMachineC.cpp + TargetRecip.cpp + TargetSubtargetInfo.cpp + + ADDITIONAL_HEADER_DIRS + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Target ) -# TODO: Support other targets besides X86. See Makefile. +foreach(t ${LLVM_TARGETS_TO_BUILD}) + message(STATUS "Targeting ${t}") + add_subdirectory(${t}) +endforeach()