X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FCMakeLists.txt;h=60e21895b35f1e9719b807591b5d7ddce59643ca;hb=7f5e43f61d3b28a03537c29156b0bad7dd3476e4;hp=888c1a3c00e3bb4b28f4b96fdc32e27f130b560b;hpb=ecf046b86d1fa372b30f5a8cbcef04a52058b175;p=oota-llvm.git diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index 888c1a3c00e..60e21895b35 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -1,16 +1,25 @@ add_llvm_library(LLVMTarget - SubtargetFeature.cpp + Mangler.cpp Target.cpp TargetData.cpp TargetELFWriterInfo.cpp - TargetFrameInfo.cpp + TargetFrameLowering.cpp TargetInstrInfo.cpp TargetIntrinsicInfo.cpp + TargetLibraryInfo.cpp TargetLoweringObjectFile.cpp - TargetMachOWriterInfo.cpp TargetMachine.cpp TargetRegisterInfo.cpp - TargetSubtarget.cpp + TargetSubtargetInfo.cpp ) -# TODO: Support other targets besides X86. See Makefile. +add_llvm_library_dependencies(LLVMTarget + LLVMCore + LLVMMC + LLVMSupport + ) + +foreach(t ${LLVM_TARGETS_TO_BUILD}) + message(STATUS "Targeting ${t}") + add_subdirectory(${t}) +endforeach()