[CMake] Prune include_directories() in llvm/lib/Target. add_llvm_target() sets them.

llvm-svn: 195921
This commit is contained in:
NAKAMURA Takumi 2013-11-28 14:53:30 +00:00
parent 979e604d8c
commit 413518f1f8
25 changed files with 0 additions and 53 deletions

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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}/..)

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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}/..)

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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}/..)

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )

View File

@ -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
) )