X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FCMakeLists.txt;h=06a74d7208100dec74466d24d688f5937339d485;hb=fd0a8133e56e6c48d04e395290da69c3926a48d1;hp=f5c94f22e8061153e03b683d9bd53c1584b8e4c1;hpb=f0144127b98425d214e59e4a1a4b342b78e3642b;p=oota-llvm.git diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index f5c94f22e80..06a74d72081 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -1,20 +1,17 @@ add_llvm_library(LLVMTarget - COFFTargetAsmInfo.cpp - DarwinTargetAsmInfo.cpp - ELFTargetAsmInfo.cpp - SubtargetFeature.cpp Target.cpp - TargetAsmInfo.cpp - TargetData.cpp - TargetELFWriterInfo.cpp - TargetFrameInfo.cpp - TargetInstrInfo.cpp TargetIntrinsicInfo.cpp + TargetJITInfo.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()