X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FCMakeLists.txt;h=c61805b63f5ece28c7eaeb5e1f78d84ee121f953;hb=1a637e9fc0f74485f036f5af6e3470e6557dcf0b;hp=7cffd0e53c17892c861d5e320d7fcad333703194;hpb=d00d4159d4fb7208cd4207a3d1e4ccf5bc02f74f;p=oota-llvm.git diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index 7cffd0e53c1..c61805b63f5 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -1,18 +1,16 @@ 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 + TargetLibraryInfo.cpp + TargetLoweringObjectFile.cpp TargetMachine.cpp - TargetMachineRegistry.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()