llvm.org GIT mirror llvm / 4afa2b8
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 Chandler Carruth 8 years ago
11 changed file(s) with 30 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
0 set(MSVC_LIB_DEPS_LLVMARMAsmParser LLVMARMCodeGen LLVMARMInfo LLVMMC LLVMMCParser LLVMSupport LLVMTarget)
11 set(MSVC_LIB_DEPS_LLVMARMAsmPrinter LLVMMC LLVMSupport)
22 set(MSVC_LIB_DEPS_LLVMARMCodeGen LLVMARMAsmPrinter LLVMARMDesc LLVMARMInfo LLVMAnalysis LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget)
3 set(MSVC_LIB_DEPS_LLVMARMDesc LLVMARMInfo LLVMMC)
3 set(MSVC_LIB_DEPS_LLVMARMDesc LLVMARMInfo LLVMMC LLVMSupport)
44 set(MSVC_LIB_DEPS_LLVMARMDisassembler LLVMARMCodeGen LLVMARMDesc LLVMARMInfo LLVMMC LLVMSupport)
55 set(MSVC_LIB_DEPS_LLVMARMInfo LLVMMC LLVMSupport)
66 set(MSVC_LIB_DEPS_LLVMAlphaCodeGen LLVMAlphaDesc LLVMAlphaInfo LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget)
3333 set(MSVC_LIB_DEPS_LLVMMBlazeAsmParser LLVMMBlazeCodeGen LLVMMBlazeInfo LLVMMC LLVMMCParser LLVMSupport LLVMTarget)
3434 set(MSVC_LIB_DEPS_LLVMMBlazeAsmPrinter LLVMMC LLVMSupport)
3535 set(MSVC_LIB_DEPS_LLVMMBlazeCodeGen LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMBlazeAsmPrinter LLVMMBlazeDesc LLVMMBlazeInfo LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget)
36 set(MSVC_LIB_DEPS_LLVMMBlazeDesc LLVMMBlazeInfo LLVMMC)
36 set(MSVC_LIB_DEPS_LLVMMBlazeDesc LLVMMBlazeInfo LLVMMC LLVMSupport)
3737 set(MSVC_LIB_DEPS_LLVMMBlazeDisassembler LLVMMBlazeCodeGen LLVMMBlazeDesc LLVMMBlazeInfo LLVMMC)
3838 set(MSVC_LIB_DEPS_LLVMMBlazeInfo LLVMMC LLVMSupport)
3939 set(MSVC_LIB_DEPS_LLVMMC LLVMSupport)
40 set(MSVC_LIB_DEPS_LLVMMCDisassembler LLVMARMAsmParser LLVMARMCodeGen LLVMARMDisassembler LLVMARMInfo LLVMAlphaCodeGen LLVMAlphaInfo LLVMBlackfinCodeGen LLVMBlackfinInfo LLVMCBackend LLVMCBackendInfo LLVMCellSPUCodeGen LLVMCellSPUInfo LLVMCppBackend LLVMCppBackendInfo LLVMMBlazeAsmParser LLVMMBlazeCodeGen LLVMMBlazeDisassembler LLVMMBlazeInfo LLVMMC LLVMMCParser LLVMMSP430CodeGen LLVMMSP430Info LLVMMipsCodeGen LLVMMipsInfo LLVMPTXCodeGen LLVMPTXInfo LLVMPowerPCCodeGen LLVMPowerPCInfo LLVMSparcCodeGen LLVMSparcInfo LLVMSupport LLVMSystemZCodeGen LLVMSystemZInfo LLVMTarget LLVMX86AsmParser LLVMX86CodeGen LLVMX86Disassembler LLVMX86Info LLVMXCoreCodeGen LLVMXCoreInfo)
40 set(MSVC_LIB_DEPS_LLVMMCDisassembler LLVMARMAsmParser LLVMARMCodeGen LLVMARMDesc LLVMARMDisassembler LLVMARMInfo LLVMAlphaCodeGen LLVMAlphaDesc LLVMAlphaInfo LLVMBlackfinCodeGen LLVMBlackfinDesc LLVMBlackfinInfo LLVMCBackend LLVMCBackendInfo LLVMCellSPUCodeGen LLVMCellSPUDesc LLVMCellSPUInfo LLVMCppBackend LLVMCppBackendInfo LLVMMBlazeAsmParser LLVMMBlazeCodeGen LLVMMBlazeDesc LLVMMBlazeDisassembler LLVMMBlazeInfo LLVMMC LLVMMCParser LLVMMSP430CodeGen LLVMMSP430Desc LLVMMSP430Info LLVMMipsCodeGen LLVMMipsDesc LLVMMipsInfo LLVMPTXCodeGen LLVMPTXDesc LLVMPTXInfo LLVMPowerPCCodeGen LLVMPowerPCDesc LLVMPowerPCInfo LLVMSparcCodeGen LLVMSparcDesc LLVMSparcInfo LLVMSupport LLVMSystemZCodeGen LLVMSystemZDesc LLVMSystemZInfo LLVMTarget LLVMX86AsmParser LLVMX86CodeGen LLVMX86Desc LLVMX86Disassembler LLVMX86Info LLVMXCoreCodeGen LLVMXCoreDesc LLVMXCoreInfo)
4141 set(MSVC_LIB_DEPS_LLVMMCJIT LLVMCore LLVMExecutionEngine LLVMRuntimeDyld LLVMSupport LLVMTarget)
4242 set(MSVC_LIB_DEPS_LLVMMCParser LLVMMC LLVMSupport)
4343 set(MSVC_LIB_DEPS_LLVMMSP430AsmPrinter LLVMMC LLVMSupport)
5454 set(MSVC_LIB_DEPS_LLVMPTXInfo LLVMMC LLVMSupport)
5555 set(MSVC_LIB_DEPS_LLVMPowerPCAsmPrinter LLVMMC LLVMSupport)
5656 set(MSVC_LIB_DEPS_LLVMPowerPCCodeGen LLVMAnalysis LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMPowerPCAsmPrinter LLVMPowerPCDesc LLVMPowerPCInfo LLVMSelectionDAG LLVMSupport LLVMTarget)
57 set(MSVC_LIB_DEPS_LLVMPowerPCDesc LLVMMC LLVMPowerPCInfo)
57 set(MSVC_LIB_DEPS_LLVMPowerPCDesc LLVMMC LLVMPowerPCInfo LLVMSupport)
5858 set(MSVC_LIB_DEPS_LLVMPowerPCInfo LLVMMC LLVMSupport)
5959 set(MSVC_LIB_DEPS_LLVMRuntimeDyld LLVMObject LLVMSupport)
6060 set(MSVC_LIB_DEPS_LLVMScalarOpts LLVMAnalysis LLVMCore LLVMInstCombine LLVMSupport LLVMTarget LLVMTransformUtils)
3535 ARMMCCodeEmitter.cpp
3636 ARMMCExpr.cpp
3737 ARMLoadStoreOptimizer.cpp
38 ARMMCAsmInfo.cpp
3938 ARMMCInstLower.cpp
4039 ARMRegisterInfo.cpp
4140 ARMSelectionDAGInfo.cpp
None add_llvm_library(LLVMARMDesc ARMMCTargetDesc.cpp)
0 add_llvm_library(LLVMARMDesc
1 ARMMCTargetDesc.cpp
2 ARMMCAsmInfo.cpp
3 )
14
5 # Hack: we need to include 'main' target directory to grab private headers
6 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
1414 AlphaISelLowering.cpp
1515 AlphaFrameLowering.cpp
1616 AlphaLLRP.cpp
17 AlphaMCAsmInfo.cpp
1817 AlphaRegisterInfo.cpp
1918 AlphaSubtarget.cpp
2019 AlphaTargetMachine.cpp
1414 BlackfinISelDAGToDAG.cpp
1515 BlackfinISelLowering.cpp
1616 BlackfinFrameLowering.cpp
17 BlackfinMCAsmInfo.cpp
1817 BlackfinRegisterInfo.cpp
1918 BlackfinSubtarget.cpp
2019 BlackfinTargetMachine.cpp
1212 SystemZISelLowering.cpp
1313 SystemZInstrInfo.cpp
1414 SystemZFrameLowering.cpp
15 SystemZMCAsmInfo.cpp
1615 SystemZRegisterInfo.cpp
1716 SystemZSubtarget.cpp
1817 SystemZTargetMachine.cpp
None add_llvm_library(LLVMSystemZDesc SystemZMCTargetDesc.cpp)
0 add_llvm_library(LLVMSystemZDesc
1 SystemZMCTargetDesc.cpp
2 SystemZMCAsmInfo.cpp
3 )
4
5 # Hack: we need to include 'main' target directory to grab private headers
6 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
2626 X86InstrInfo.cpp
2727 X86JITInfo.cpp
2828 X86MachObjectWriter.cpp
29 X86MCAsmInfo.cpp
3029 X86MCCodeEmitter.cpp
3130 X86MCInstLower.cpp
3231 X86RegisterInfo.cpp
None add_llvm_library(LLVMX86Desc X86MCTargetDesc.cpp)
0 add_llvm_library(LLVMX86Desc
1 X86MCTargetDesc.cpp
2 X86MCAsmInfo.cpp
3 )
14
5 # Hack: we need to include 'main' target directory to grab private headers
6 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
1212 XCoreInstrInfo.cpp
1313 XCoreISelDAGToDAG.cpp
1414 XCoreISelLowering.cpp
15 XCoreMCAsmInfo.cpp
1615 XCoreRegisterInfo.cpp
1716 XCoreSubtarget.cpp
1817 XCoreTargetMachine.cpp
None add_llvm_library(LLVMXCoreDesc XCoreMCTargetDesc.cpp)
0 add_llvm_library(LLVMXCoreDesc
1 XCoreMCTargetDesc.cpp
2 XCoreMCAsmInfo.cpp
3 )
4
5 # Hack: we need to include 'main' target directory to grab private headers
6 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)