mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
build/CMake: Finish removal of add_llvm_library_dependencies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6e7a13db85
commit
d782bae970
@ -35,9 +35,6 @@ macro(add_llvm_library name)
|
||||
target_link_libraries(${name} ${lib_deps})
|
||||
endmacro(add_llvm_library name)
|
||||
|
||||
macro(add_llvm_library_dependencies name)
|
||||
endmacro(add_llvm_library_dependencies name)
|
||||
|
||||
macro(add_llvm_loadable_module name)
|
||||
if( NOT LLVM_ON_UNIX OR CYGWIN )
|
||||
message(STATUS "Loadable modules not supported on this platform.
|
||||
|
@ -58,10 +58,4 @@ add_llvm_library(LLVMAnalysis
|
||||
ValueTracking.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(IPA)
|
||||
|
@ -5,9 +5,3 @@ add_llvm_library(LLVMipa
|
||||
GlobalsModRef.cpp
|
||||
IPA.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMipa
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -3,9 +3,3 @@ add_llvm_library(LLVMArchive
|
||||
ArchiveReader.cpp
|
||||
ArchiveWriter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMArchive
|
||||
LLVMBitReader
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -4,8 +4,3 @@ add_llvm_library(LLVMAsmParser
|
||||
LLParser.cpp
|
||||
Parser.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMAsmParser
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -2,8 +2,3 @@ add_llvm_library(LLVMBitReader
|
||||
BitReader.cpp
|
||||
BitcodeReader.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMBitReader
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -4,8 +4,3 @@ add_llvm_library(LLVMBitWriter
|
||||
BitcodeWriterPass.cpp
|
||||
ValueEnumerator.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMBitWriter
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -12,13 +12,3 @@ add_llvm_library(LLVMAsmPrinter
|
||||
OcamlGCPrinter.cpp
|
||||
Win64Exception.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMAsmPrinter
|
||||
LLVMAnalysis
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMMCParser
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
@ -99,15 +99,5 @@ add_llvm_library(LLVMCodeGen
|
||||
VirtRegMap.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCodeGen
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMScalarOpts
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
||||
add_subdirectory(SelectionDAG)
|
||||
add_subdirectory(AsmPrinter)
|
||||
|
@ -20,13 +20,3 @@ add_llvm_library(LLVMSelectionDAG
|
||||
TargetLowering.cpp
|
||||
TargetSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMSelectionDAG
|
||||
LLVMAnalysis
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@ -10,7 +10,3 @@ add_llvm_library(LLVMDebugInfo
|
||||
DWARFDebugLine.cpp
|
||||
DWARFFormValue.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMDebugInfo
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -4,13 +4,6 @@ add_llvm_library(LLVMExecutionEngine
|
||||
TargetSelect.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMExecutionEngine
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(Interpreter)
|
||||
add_subdirectory(JIT)
|
||||
add_subdirectory(MCJIT)
|
||||
|
@ -12,14 +12,6 @@ add_llvm_library(LLVMInterpreter
|
||||
Interpreter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMInterpreter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMExecutionEngine
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
if( LLVM_ENABLE_FFI )
|
||||
target_link_libraries( LLVMInterpreter ${FFI_LIBRARY_PATH} )
|
||||
endif()
|
||||
|
@ -10,13 +10,3 @@ add_llvm_library(LLVMJIT
|
||||
JITMemoryManager.cpp
|
||||
OProfileJITEventListener.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMJIT
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMExecutionEngine
|
||||
LLVMMC
|
||||
LLVMRuntimeDyld
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
@ -2,11 +2,3 @@ add_llvm_library(LLVMMCJIT
|
||||
MCJIT.cpp
|
||||
Intercept.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMCJIT
|
||||
LLVMCore
|
||||
LLVMExecutionEngine
|
||||
LLVMRuntimeDyld
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
@ -2,8 +2,3 @@ add_llvm_library(LLVMRuntimeDyld
|
||||
RuntimeDyld.cpp
|
||||
RuntimeDyldMachO.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMRuntimeDyld
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -4,11 +4,3 @@ add_llvm_library(LLVMLinker
|
||||
LinkModules.cpp
|
||||
Linker.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMLinker
|
||||
LLVMArchive
|
||||
LLVMBitReader
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@ -45,10 +45,5 @@ add_llvm_library(LLVMMC
|
||||
WinCOFFStreamer.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMC
|
||||
LLVMObject
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_subdirectory(MCParser)
|
||||
add_subdirectory(MCDisassembler)
|
||||
|
@ -6,9 +6,3 @@ add_llvm_library(LLVMMCDisassembler
|
||||
EDOperand.cpp
|
||||
EDToken.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMCDisassembler
|
||||
LLVMMC
|
||||
LLVMMCParser
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -9,8 +9,3 @@ add_llvm_library(LLVMMCParser
|
||||
MCAsmParserExtension.cpp
|
||||
MCTargetAsmParser.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMCParser
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -9,8 +9,3 @@ add_llvm_library(LLVMObject
|
||||
Object.cpp
|
||||
ObjectFile.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMObject
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -10,7 +10,3 @@ add_llvm_library(LLVMTableGen
|
||||
TGLexer.cpp
|
||||
TGParser.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMTableGen
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -6,11 +6,3 @@ add_llvm_library(LLVMARMAsmParser
|
||||
)
|
||||
|
||||
add_dependencies(LLVMARMAsmParser ARMCommonTableGen)
|
||||
|
||||
add_llvm_library_dependencies(LLVMARMAsmParser
|
||||
LLVMARMDesc
|
||||
LLVMARMInfo
|
||||
LLVMMC
|
||||
LLVMMCParser
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -48,20 +48,6 @@ add_llvm_target(ARMCodeGen
|
||||
Thumb2SizeReduction.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMARMCodeGen
|
||||
LLVMARMAsmPrinter
|
||||
LLVMARMDesc
|
||||
LLVMARMInfo
|
||||
LLVMAnalysis
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
# workaround for hanging compilation on MSVC9, 10
|
||||
if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
|
||||
set_property(
|
||||
|
@ -11,11 +11,3 @@ set_property(
|
||||
)
|
||||
endif()
|
||||
add_dependencies(LLVMARMDisassembler ARMCommonTableGen)
|
||||
|
||||
add_llvm_library_dependencies(LLVMARMDisassembler
|
||||
LLVMARMCodeGen
|
||||
LLVMARMDesc
|
||||
LLVMARMInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -5,8 +5,3 @@ add_llvm_library(LLVMARMAsmPrinter
|
||||
)
|
||||
|
||||
add_dependencies(LLVMARMAsmPrinter ARMCommonTableGen)
|
||||
|
||||
add_llvm_library_dependencies(LLVMARMAsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -10,10 +10,3 @@ add_dependencies(LLVMARMDesc ARMCommonTableGen)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
|
||||
add_llvm_library_dependencies(LLVMARMDesc
|
||||
LLVMARMAsmPrinter
|
||||
LLVMARMInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
@ -5,9 +5,3 @@ add_llvm_library(LLVMARMInfo
|
||||
)
|
||||
|
||||
add_dependencies(LLVMARMInfo ARMCommonTableGen)
|
||||
|
||||
add_llvm_library_dependencies(LLVMARMInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
@ -2,16 +2,4 @@ add_llvm_target(CBackendCodeGen
|
||||
CBackend.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCBackendCodeGen
|
||||
LLVMAnalysis
|
||||
LLVMCBackendInfo
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMScalarOpts
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
|
@ -3,9 +3,3 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
|
||||
add_llvm_library(LLVMCBackendInfo
|
||||
CBackendTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCBackendInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
@ -13,12 +13,6 @@ add_llvm_library(LLVMTarget
|
||||
TargetSubtargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMTarget
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
foreach(t ${LLVM_TARGETS_TO_BUILD})
|
||||
message(STATUS "Targeting ${t}")
|
||||
add_subdirectory(${t})
|
||||
|
@ -23,17 +23,5 @@ add_llvm_target(CellSPUCodeGen
|
||||
SPUNopFiller.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCellSPUCodeGen
|
||||
LLVMAsmPrinter
|
||||
LLVMCellSPUDesc
|
||||
LLVMCellSPUInfo
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -3,9 +3,4 @@ add_llvm_library(LLVMCellSPUDesc
|
||||
SPUMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCellSPUDesc
|
||||
LLVMCellSPUInfo
|
||||
LLVMMC
|
||||
)
|
||||
|
||||
add_dependencies(LLVMCellSPUDesc CellSPUCommonTableGen)
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMCellSPUInfo
|
||||
CellSPUTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCellSPUInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMCellSPUInfo CellSPUCommonTableGen)
|
||||
|
@ -2,11 +2,4 @@ add_llvm_target(CppBackendCodeGen
|
||||
CPPBackend.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCppBackendCodeGen
|
||||
LLVMCore
|
||||
LLVMCppBackendInfo
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
|
@ -3,9 +3,3 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
|
||||
add_llvm_library(LLVMCppBackendInfo
|
||||
CppBackendTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCppBackendInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
@ -6,11 +6,4 @@ add_llvm_library(LLVMMBlazeAsmParser
|
||||
MBlazeAsmParser.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMBlazeAsmParser
|
||||
LLVMMBlazeInfo
|
||||
LLVMMC
|
||||
LLVMMCParser
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMBlazeAsmParser MBlazeCommonTableGen)
|
||||
|
@ -29,19 +29,6 @@ add_llvm_target(MBlazeCodeGen
|
||||
MBlazeELFWriterInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMBlazeCodeGen
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMBlazeAsmPrinter
|
||||
LLVMMBlazeDesc
|
||||
LLVMMBlazeInfo
|
||||
LLVMMC
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
add_subdirectory(InstPrinter)
|
||||
|
@ -13,11 +13,4 @@ set_property(
|
||||
)
|
||||
endif()
|
||||
|
||||
add_llvm_library_dependencies(LLVMMBlazeDisassembler
|
||||
LLVMMBlazeDesc
|
||||
LLVMMBlazeInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMBlazeDisassembler MBlazeCommonTableGen)
|
||||
|
@ -5,9 +5,4 @@ add_llvm_library(LLVMMBlazeAsmPrinter
|
||||
MBlazeInstPrinter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMBlazeAsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMBlazeAsmPrinter MBlazeCommonTableGen)
|
||||
|
@ -5,11 +5,4 @@ add_llvm_library(LLVMMBlazeDesc
|
||||
MBlazeMCTargetDesc.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMBlazeDesc
|
||||
LLVMMBlazeAsmPrinter
|
||||
LLVMMBlazeInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMBlazeDesc MBlazeCommonTableGen)
|
||||
|
@ -5,10 +5,4 @@ add_llvm_library(LLVMMBlazeInfo
|
||||
MBlazeTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMBlazeInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMBlazeInfo MBlazeCommonTableGen)
|
||||
|
@ -22,19 +22,6 @@ add_llvm_target(MSP430CodeGen
|
||||
MSP430MCInstLower.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMSP430CodeGen
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMMSP430AsmPrinter
|
||||
LLVMMSP430Desc
|
||||
LLVMMSP430Info
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -4,9 +4,4 @@ add_llvm_library(LLVMMSP430AsmPrinter
|
||||
MSP430InstPrinter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMSP430AsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMSP430AsmPrinter MSP430CommonTableGen)
|
||||
|
@ -3,12 +3,4 @@ add_llvm_library(LLVMMSP430Desc
|
||||
MSP430MCAsmInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMSP430Desc
|
||||
LLVMMC
|
||||
LLVMMSP430AsmPrinter
|
||||
LLVMMSP430Info
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMSP430Desc MSP430CommonTableGen)
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMMSP430Info
|
||||
MSP430TargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMSP430Info
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMSP430Info MSP430CommonTableGen)
|
||||
|
@ -29,19 +29,6 @@ add_llvm_target(MipsCodeGen
|
||||
MipsSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMipsCodeGen
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMMipsAsmPrinter
|
||||
LLVMMipsDesc
|
||||
LLVMMipsInfo
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -4,9 +4,4 @@ add_llvm_library(LLVMMipsAsmPrinter
|
||||
MipsInstPrinter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMipsAsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMipsAsmPrinter MipsCommonTableGen)
|
||||
|
@ -5,11 +5,4 @@ add_llvm_library(LLVMMipsDesc
|
||||
MipsMCTargetDesc.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMipsDesc
|
||||
LLVMMC
|
||||
LLVMMipsAsmPrinter
|
||||
LLVMMipsInfo
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMipsDesc MipsCommonTableGen)
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMMipsInfo
|
||||
MipsTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMMipsInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMipsInfo MipsCommonTableGen)
|
||||
|
@ -25,20 +25,6 @@ add_llvm_target(PTXCodeGen
|
||||
PTXTargetMachine.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPTXCodeGen
|
||||
LLVMAnalysis
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMPTXDesc
|
||||
LLVMPTXInfo
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -6,8 +6,3 @@ add_llvm_library(LLVMPTXAsmPrinter
|
||||
|
||||
add_dependencies(LLVMPTXAsmPrinter PTXCommonTableGen)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPTXAsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
|
@ -3,11 +3,4 @@ add_llvm_library(LLVMPTXDesc
|
||||
PTXMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPTXDesc
|
||||
LLVMMC
|
||||
LLVMPTXAsmPrinter
|
||||
LLVMPTXInfo
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMPTXDesc PTXCommonTableGen)
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMPTXInfo
|
||||
PTXTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPTXInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMPTXInfo PTXCommonTableGen)
|
||||
|
@ -27,20 +27,6 @@ add_llvm_target(PowerPCCodeGen
|
||||
PPCSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPowerPCCodeGen
|
||||
LLVMAnalysis
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMPowerPCAsmPrinter
|
||||
LLVMPowerPCDesc
|
||||
LLVMPowerPCInfo
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -4,9 +4,4 @@ add_llvm_library(LLVMPowerPCAsmPrinter
|
||||
PPCInstPrinter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPowerPCAsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMPowerPCAsmPrinter PowerPCCommonTableGen)
|
||||
|
@ -6,11 +6,4 @@ add_llvm_library(LLVMPowerPCDesc
|
||||
PPCPredicates.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPowerPCDesc
|
||||
LLVMMC
|
||||
LLVMPowerPCAsmPrinter
|
||||
LLVMPowerPCInfo
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMPowerPCDesc PowerPCCommonTableGen)
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMPowerPCInfo
|
||||
PowerPCTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMPowerPCInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMPowerPCInfo PowerPCCommonTableGen)
|
||||
|
@ -22,17 +22,5 @@ add_llvm_target(SparcCodeGen
|
||||
SparcSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMSparcCodeGen
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSelectionDAG
|
||||
LLVMSparcDesc
|
||||
LLVMSparcInfo
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -3,10 +3,4 @@ add_llvm_library(LLVMSparcDesc
|
||||
SparcMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMSparcDesc
|
||||
LLVMMC
|
||||
LLVMSparcInfo
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMSparcDesc SparcCommonTableGen)
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMSparcInfo
|
||||
SparcTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMSparcInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMSparcInfo SparcCommonTableGen)
|
||||
|
@ -5,12 +5,4 @@ add_llvm_library(LLVMX86AsmParser
|
||||
X86AsmParser.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86AsmParser
|
||||
LLVMMC
|
||||
LLVMMCParser
|
||||
LLVMSupport
|
||||
LLVMX86Desc
|
||||
LLVMX86Info
|
||||
)
|
||||
|
||||
add_dependencies(LLVMX86AsmParser X86CommonTableGen)
|
||||
|
@ -51,21 +51,6 @@ endif()
|
||||
|
||||
add_llvm_target(X86CodeGen ${sources})
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86CodeGen
|
||||
LLVMAnalysis
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMX86AsmPrinter
|
||||
LLVMX86Desc
|
||||
LLVMX86Info
|
||||
LLVMX86Utils
|
||||
)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
add_subdirectory(InstPrinter)
|
||||
|
@ -5,12 +5,6 @@ add_llvm_library(LLVMX86Disassembler
|
||||
X86DisassemblerDecoder.c
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86Disassembler
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMX86Info
|
||||
)
|
||||
|
||||
# workaround for hanging compilation on MSVC9 and 10
|
||||
if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
|
||||
set_property(
|
||||
|
@ -6,10 +6,4 @@ add_llvm_library(LLVMX86AsmPrinter
|
||||
X86InstComments.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86AsmPrinter
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMX86Utils
|
||||
)
|
||||
|
||||
add_dependencies(LLVMX86AsmPrinter X86CommonTableGen)
|
||||
|
@ -6,13 +6,6 @@ add_llvm_library(LLVMX86Desc
|
||||
X86MachObjectWriter.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86Desc
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMX86AsmPrinter
|
||||
LLVMX86Info
|
||||
)
|
||||
|
||||
add_dependencies(LLVMX86Desc X86CommonTableGen)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMX86Info
|
||||
X86TargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86Info
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMX86Info X86CommonTableGen)
|
||||
|
@ -4,9 +4,4 @@ add_llvm_library(LLVMX86Utils
|
||||
X86ShuffleDecode.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMX86Utils
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_dependencies(LLVMX86Utils X86CommonTableGen)
|
||||
|
@ -21,17 +21,5 @@ add_llvm_target(XCoreCodeGen
|
||||
XCoreSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMXCoreCodeGen
|
||||
LLVMAsmPrinter
|
||||
LLVMCodeGen
|
||||
LLVMCore
|
||||
LLVMMC
|
||||
LLVMSelectionDAG
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMXCoreDesc
|
||||
LLVMXCoreInfo
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -3,11 +3,6 @@ add_llvm_library(LLVMXCoreDesc
|
||||
XCoreMCAsmInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMXCoreDesc
|
||||
LLVMMC
|
||||
LLVMXCoreInfo
|
||||
)
|
||||
|
||||
add_dependencies(LLVMXCoreDesc XCoreCommonTableGen)
|
||||
|
||||
# Hack: we need to include 'main' target directory to grab private headers
|
||||
|
@ -4,10 +4,4 @@ add_llvm_library(LLVMXCoreInfo
|
||||
XCoreTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMXCoreInfo
|
||||
LLVMMC
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
)
|
||||
|
||||
add_dependencies(LLVMXCoreInfo XCoreCommonTableGen)
|
||||
|
@ -20,14 +20,3 @@ add_llvm_library(LLVMipo
|
||||
StripDeadPrototypes.cpp
|
||||
StripSymbols.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMipo
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMInstCombine
|
||||
LLVMScalarOpts
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
LLVMipa
|
||||
)
|
||||
|
@ -13,11 +13,3 @@ add_llvm_library(LLVMInstCombine
|
||||
InstCombineSimplifyDemanded.cpp
|
||||
InstCombineVectorOps.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMInstCombine
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@ -7,10 +7,3 @@ add_llvm_library(LLVMInstrumentation
|
||||
PathProfiling.cpp
|
||||
ProfilingUtils.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMInstrumentation
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@ -32,12 +32,3 @@ add_llvm_library(LLVMScalarOpts
|
||||
Sink.cpp
|
||||
TailRecursionElimination.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMScalarOpts
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMInstCombine
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@ -28,11 +28,3 @@ add_llvm_library(LLVMTransformUtils
|
||||
Utils.cpp
|
||||
ValueMapper.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMTransformUtils
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMSupport
|
||||
LLVMTarget
|
||||
LLVMipa
|
||||
)
|
||||
|
@ -37,5 +37,3 @@ add_llvm_library(LLVMCore
|
||||
ValueTypes.cpp
|
||||
Verifier.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(LLVMCore LLVMSupport)
|
||||
|
@ -40,11 +40,3 @@ add_llvm_library(gtest
|
||||
add_llvm_library(gtest_main
|
||||
UnitTestMain/TestMain.cpp
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(gtest
|
||||
LLVMSupport
|
||||
)
|
||||
|
||||
add_llvm_library_dependencies(gtest_main
|
||||
gtest
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user