From: Oscar Fuentes Date: Sat, 8 Nov 2008 20:37:19 +0000 (+0000) Subject: CMake: Reflected changes on the CellSPU target build. May require a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a4dd926011b1086af5d21460827c27f059ec387c;p=oota-llvm.git CMake: Reflected changes on the CellSPU target build. May require a clean start. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58924 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt b/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt new file mode 100644 index 00000000000..203262f08d0 --- /dev/null +++ b/lib/Target/CellSPU/AsmPrinter/CMakeLists.txt @@ -0,0 +1,12 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR}/.. + ${CMAKE_CURRENT_SOURCE_DIR}/.. + ) + +add_partially_linked_object(LLVMCellSPUAsmPrinter + SPUAsmPrinter.cpp + ) + +target_name_of_partially_linked_object(LLVMCellSPU n) + +add_dependencies(LLVMCellSPUAsmPrinter ${n}) diff --git a/lib/Target/CellSPU/CMakeLists.txt b/lib/Target/CellSPU/CMakeLists.txt index bfc9c908fea..e3e12acc505 100644 --- a/lib/Target/CellSPU/CMakeLists.txt +++ b/lib/Target/CellSPU/CMakeLists.txt @@ -11,8 +11,7 @@ tablegen(SPUGenDAGISel.inc -gen-dag-isel) tablegen(SPUGenSubtarget.inc -gen-subtarget) tablegen(SPUGenCallingConv.inc -gen-callingconv) -add_llvm_target(CellSPU - SPUAsmPrinter.cpp +add_llvm_target(CellSPUCodeGen SPUFrameInfo.cpp SPUHazardRecognizers.cpp SPUInstrInfo.cpp