forked from OSchip/llvm-project
[CMake] Prune include_directories() in llvm/lib/Target. add_llvm_target() sets them.
llvm-svn: 195921
This commit is contained in:
parent
979e604d8c
commit
413518f1f8
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMAArch64AsmParser
|
add_llvm_library(LLVMAArch64AsmParser
|
||||||
AArch64AsmParser.cpp
|
AArch64AsmParser.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMAArch64Disassembler
|
add_llvm_library(LLVMAArch64Disassembler
|
||||||
AArch64Disassembler.cpp
|
AArch64Disassembler.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMAArch64AsmPrinter
|
add_llvm_library(LLVMAArch64AsmPrinter
|
||||||
AArch64InstPrinter.cpp
|
AArch64InstPrinter.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,6 +8,3 @@ add_llvm_library(LLVMAArch64Desc
|
||||||
AArch64MCTargetDesc.cpp
|
AArch64MCTargetDesc.cpp
|
||||||
)
|
)
|
||||||
add_dependencies(LLVMAArch64Desc AArch64CommonTableGen)
|
add_dependencies(LLVMAArch64Desc AArch64CommonTableGen)
|
||||||
|
|
||||||
# Hack: we need to include 'main' target directory to grab private headers
|
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMAArch64Info
|
add_llvm_library(LLVMAArch64Info
|
||||||
AArch64TargetInfo.cpp
|
AArch64TargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMAArch64Utils
|
add_llvm_library(LLVMAArch64Utils
|
||||||
AArch64BaseInfo.cpp
|
AArch64BaseInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMARMAsmParser
|
add_llvm_library(LLVMARMAsmParser
|
||||||
ARMAsmParser.cpp
|
ARMAsmParser.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMARMDisassembler
|
add_llvm_library(LLVMARMDisassembler
|
||||||
ARMDisassembler.cpp
|
ARMDisassembler.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMARMAsmPrinter
|
add_llvm_library(LLVMARMAsmPrinter
|
||||||
ARMInstPrinter.cpp
|
ARMInstPrinter.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,6 +12,3 @@ add_llvm_library(LLVMARMDesc
|
||||||
ARMMachORelocationInfo.cpp
|
ARMMachORelocationInfo.cpp
|
||||||
)
|
)
|
||||||
add_dependencies(LLVMARMDesc ARMCommonTableGen)
|
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}/..)
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMARMInfo
|
add_llvm_library(LLVMARMInfo
|
||||||
ARMTargetInfo.cpp
|
ARMTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMCppBackendInfo
|
add_llvm_library(LLVMCppBackendInfo
|
||||||
CppBackendTargetInfo.cpp
|
CppBackendTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMMSP430AsmPrinter
|
add_llvm_library(LLVMMSP430AsmPrinter
|
||||||
MSP430InstPrinter.cpp
|
MSP430InstPrinter.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMMSP430Info
|
add_llvm_library(LLVMMSP430Info
|
||||||
MSP430TargetInfo.cpp
|
MSP430TargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
add_llvm_library(LLVMMipsAsmParser
|
add_llvm_library(LLVMMipsAsmParser
|
||||||
MipsAsmParser.cpp
|
MipsAsmParser.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMMipsDisassembler
|
add_llvm_library(LLVMMipsDisassembler
|
||||||
MipsDisassembler.cpp
|
MipsDisassembler.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMMipsAsmPrinter
|
add_llvm_library(LLVMMipsAsmPrinter
|
||||||
MipsInstPrinter.cpp
|
MipsInstPrinter.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMMipsInfo
|
add_llvm_library(LLVMMipsInfo
|
||||||
MipsTargetInfo.cpp
|
MipsTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMNVPTXAsmPrinter
|
add_llvm_library(LLVMNVPTXAsmPrinter
|
||||||
NVPTXInstPrinter.cpp
|
NVPTXInstPrinter.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,6 +4,3 @@ add_llvm_library(LLVMNVPTXDesc
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMNVPTXDesc NVPTXCommonTableGen)
|
add_dependencies(LLVMNVPTXDesc NVPTXCommonTableGen)
|
||||||
|
|
||||||
# Hack: we need to include 'main' target directory to grab private headers
|
|
||||||
#include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMNVPTXInfo
|
add_llvm_library(LLVMNVPTXInfo
|
||||||
NVPTXTargetInfo.cpp
|
NVPTXTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/..
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMPowerPCAsmParser
|
add_llvm_library(LLVMPowerPCAsmParser
|
||||||
PPCAsmParser.cpp
|
PPCAsmParser.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMPowerPCAsmPrinter
|
add_llvm_library(LLVMPowerPCAsmPrinter
|
||||||
PPCInstPrinter.cpp
|
PPCInstPrinter.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMPowerPCInfo
|
add_llvm_library(LLVMPowerPCInfo
|
||||||
PowerPCTargetInfo.cpp
|
PowerPCTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
||||||
|
|
||||||
add_llvm_library(LLVMSparcInfo
|
add_llvm_library(LLVMSparcInfo
|
||||||
SparcTargetInfo.cpp
|
SparcTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue