mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Major update to CMake build to reflect changes in r135219 in the
backend. Moved some MCAsmInfo files down into the MCTargetDesc sublibraries, removed some (i suspect long) dead files from other parts of the CMake build, etc. Also copied the include directory hack from the Makefile. Finally, updated the lib deps. I spot checked this, and think its correct, but review appreciated there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135234 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,7 +36,6 @@ add_llvm_target(ARMCodeGen
|
||||
ARMMCCodeEmitter.cpp
|
||||
ARMMCExpr.cpp
|
||||
ARMLoadStoreOptimizer.cpp
|
||||
ARMMCAsmInfo.cpp
|
||||
ARMMCInstLower.cpp
|
||||
ARMRegisterInfo.cpp
|
||||
ARMSelectionDAGInfo.cpp
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
add_llvm_library(LLVMARMDesc ARMMCTargetDesc.cpp)
|
||||
add_llvm_library(LLVMARMDesc
|
||||
ARMMCTargetDesc.cpp
|
||||
ARMMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
|
||||
@@ -15,7 +15,6 @@ add_llvm_target(AlphaCodeGen
|
||||
AlphaISelLowering.cpp
|
||||
AlphaFrameLowering.cpp
|
||||
AlphaLLRP.cpp
|
||||
AlphaMCAsmInfo.cpp
|
||||
AlphaRegisterInfo.cpp
|
||||
AlphaSubtarget.cpp
|
||||
AlphaTargetMachine.cpp
|
||||
|
||||
@@ -15,7 +15,6 @@ add_llvm_target(BlackfinCodeGen
|
||||
BlackfinISelDAGToDAG.cpp
|
||||
BlackfinISelLowering.cpp
|
||||
BlackfinFrameLowering.cpp
|
||||
BlackfinMCAsmInfo.cpp
|
||||
BlackfinRegisterInfo.cpp
|
||||
BlackfinSubtarget.cpp
|
||||
BlackfinTargetMachine.cpp
|
||||
|
||||
@@ -13,7 +13,6 @@ add_llvm_target(SystemZCodeGen
|
||||
SystemZISelLowering.cpp
|
||||
SystemZInstrInfo.cpp
|
||||
SystemZFrameLowering.cpp
|
||||
SystemZMCAsmInfo.cpp
|
||||
SystemZRegisterInfo.cpp
|
||||
SystemZSubtarget.cpp
|
||||
SystemZTargetMachine.cpp
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
add_llvm_library(LLVMSystemZDesc SystemZMCTargetDesc.cpp)
|
||||
add_llvm_library(LLVMSystemZDesc
|
||||
SystemZMCTargetDesc.cpp
|
||||
SystemZMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
|
||||
@@ -27,7 +27,6 @@ set(sources
|
||||
X86InstrInfo.cpp
|
||||
X86JITInfo.cpp
|
||||
X86MachObjectWriter.cpp
|
||||
X86MCAsmInfo.cpp
|
||||
X86MCCodeEmitter.cpp
|
||||
X86MCInstLower.cpp
|
||||
X86RegisterInfo.cpp
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
add_llvm_library(LLVMX86Desc X86MCTargetDesc.cpp)
|
||||
add_llvm_library(LLVMX86Desc
|
||||
X86MCTargetDesc.cpp
|
||||
X86MCAsmInfo.cpp
|
||||
)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
|
||||
@@ -13,7 +13,6 @@ add_llvm_target(XCoreCodeGen
|
||||
XCoreInstrInfo.cpp
|
||||
XCoreISelDAGToDAG.cpp
|
||||
XCoreISelLowering.cpp
|
||||
XCoreMCAsmInfo.cpp
|
||||
XCoreRegisterInfo.cpp
|
||||
XCoreSubtarget.cpp
|
||||
XCoreTargetMachine.cpp
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
add_llvm_library(LLVMXCoreDesc XCoreMCTargetDesc.cpp)
|
||||
add_llvm_library(LLVMXCoreDesc
|
||||
XCoreMCTargetDesc.cpp
|
||||
XCoreMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
|
||||
Reference in New Issue
Block a user