build/cmake: Coalesce the configuration time header include fragment generation
[oota-llvm.git] / lib / Target / CMakeLists.txt
1 add_llvm_library(LLVMTarget
2   Mangler.cpp
3   Target.cpp
4   TargetData.cpp
5   TargetELFWriterInfo.cpp
6   TargetFrameLowering.cpp
7   TargetInstrInfo.cpp
8   TargetIntrinsicInfo.cpp
9   TargetLibraryInfo.cpp
10   TargetLoweringObjectFile.cpp
11   TargetMachine.cpp
12   TargetRegisterInfo.cpp
13   TargetSubtargetInfo.cpp
14   )
15
16 add_llvm_library_dependencies(LLVMTarget
17   LLVMCore
18   LLVMMC
19   LLVMSupport
20   )
21
22 foreach(t ${LLVM_TARGETS_TO_BUILD})
23   message(STATUS "Targeting ${t}")
24   add_subdirectory(${t})
25 endforeach()