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
|
||||
AArch64AsmParser.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMAArch64Disassembler
|
||||
AArch64Disassembler.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMAArch64AsmPrinter
|
||||
AArch64InstPrinter.cpp
|
||||
)
|
||||
|
|
|
@ -8,6 +8,3 @@ add_llvm_library(LLVMAArch64Desc
|
|||
AArch64MCTargetDesc.cpp
|
||||
)
|
||||
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
|
||||
AArch64TargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMAArch64Utils
|
||||
AArch64BaseInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMARMAsmParser
|
||||
ARMAsmParser.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMARMDisassembler
|
||||
ARMDisassembler.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMARMAsmPrinter
|
||||
ARMInstPrinter.cpp
|
||||
)
|
||||
|
|
|
@ -12,6 +12,3 @@ add_llvm_library(LLVMARMDesc
|
|||
ARMMachORelocationInfo.cpp
|
||||
)
|
||||
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
|
||||
ARMTargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMCppBackendInfo
|
||||
CppBackendTargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMMSP430AsmPrinter
|
||||
MSP430InstPrinter.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMMSP430Info
|
||||
MSP430TargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
add_llvm_library(LLVMMipsAsmParser
|
||||
MipsAsmParser.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMMipsDisassembler
|
||||
MipsDisassembler.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMMipsAsmPrinter
|
||||
MipsInstPrinter.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMMipsInfo
|
||||
MipsTargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMNVPTXAsmPrinter
|
||||
NVPTXInstPrinter.cpp
|
||||
)
|
||||
|
|
|
@ -4,6 +4,3 @@ add_llvm_library(LLVMNVPTXDesc
|
|||
)
|
||||
|
||||
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
|
||||
NVPTXTargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMPowerPCAsmParser
|
||||
PPCAsmParser.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMPowerPCAsmPrinter
|
||||
PPCInstPrinter.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMPowerPCInfo
|
||||
PowerPCTargetInfo.cpp
|
||||
)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMSparcInfo
|
||||
SparcTargetInfo.cpp
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue