summaryrefslogtreecommitdiff
path: root/lib/FrontendTool
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-21 07:59:59 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-21 07:59:59 +0000
commit0eed94f665c304535f9bde0c37829ed56b6da801 (patch)
tree09991a310f2b57770512eb5721e86585f15ef09c /lib/FrontendTool
parent7edcb6e633d35c53e1629df17cc8d15e11b489cb (diff)
downloadclang-0eed94f665c304535f9bde0c37829ed56b6da801.tar.gz
[CMake] Get rid of explicit dependencies to include/clang/*.inc and introduce CLANG_TABLEGEN_TARGETS.
This does; - clang_tablegen() adds each tblgen'd target to global property CLANG_TABLEGEN_TARGETS as list. - List of targets is added to LLVM_COMMON_DEPENDS. - all clang libraries and targets depend on generated headers. You might wonder this would be regression, but in fact, this is little loss. - Almost all of clang libraries depend on tblgen'd files and clang-tblgen. - clang-tblgen may cause short stall-out but doesn't cause unconditional rebuild. - Each library's dependencies to tblgen'd files might vary along headers' structure. It made hard to track and update *really optimal* dependencies. Each dependency to intrinsics_gen and ClangSACheckers is left as DEPENDS. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/FrontendTool')
-rw-r--r--lib/FrontendTool/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/FrontendTool/CMakeLists.txt b/lib/FrontendTool/CMakeLists.txt
index c818d6f3e6..4274a604a2 100644
--- a/lib/FrontendTool/CMakeLists.txt
+++ b/lib/FrontendTool/CMakeLists.txt
@@ -7,12 +7,6 @@ add_clang_library(clangFrontendTool
ExecuteCompilerInvocation.cpp
)
-add_dependencies(clangFrontendTool
- ClangDiagnosticCommon
- ClangDiagnosticFrontend
- ClangDriverOptions
- )
-
target_link_libraries(clangFrontendTool
clangBasic
clangCodeGen