[CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen.

add_public_tablegen_target adds *CommonTableGen to LLVM_COMMON_DEPENDS.
LLVM_COMMON_DEPENDS affects add_llvm_library (and other add_target stuff) within its scope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2013-11-28 17:04:04 +00:00
parent 4ca0ef70cd
commit ad363187c4
62 changed files with 14 additions and 111 deletions

View File

@@ -37,7 +37,7 @@ add_llvm_target(HexagonCodeGen
HexagonCopyToCombine.cpp
)
add_dependencies(LLVMHexagonCodeGen HexagonCommonTableGen intrinsics_gen)
add_dependencies(LLVMHexagonCodeGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(InstPrinter)

View File

@@ -1,5 +1,3 @@
add_llvm_library(LLVMHexagonAsmPrinter
HexagonInstPrinter.cpp
)
add_dependencies(LLVMHexagonAsmPrinter HexagonCommonTableGen)

View File

@@ -3,5 +3,3 @@ add_llvm_library(LLVMHexagonDesc
HexagonMCInst.cpp
HexagonMCTargetDesc.cpp
)
add_dependencies(LLVMHexagonDesc HexagonCommonTableGen)

View File

@@ -1,5 +1,3 @@
add_llvm_library(LLVMHexagonInfo
HexagonTargetInfo.cpp
)
add_dependencies(LLVMHexagonInfo HexagonCommonTableGen)