]> granicus.if.org Git - clang/commit
[CMake] Get rid of explicit dependencies to include/clang/*.inc and introduce CLANG_T...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 21 Feb 2014 07:59:59 +0000 (07:59 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 21 Feb 2014 07:59:59 +0000 (07:59 +0000)
commit0eed94f665c304535f9bde0c37829ed56b6da801
tree09991a310f2b57770512eb5721e86585f15ef09c
parent7edcb6e633d35c53e1629df17cc8d15e11b489cb
[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
26 files changed:
CMakeLists.txt
examples/PrintFunctionNames/CMakeLists.txt
examples/analyzer-plugin/CMakeLists.txt
lib/ARCMigrate/CMakeLists.txt
lib/AST/CMakeLists.txt
lib/ASTMatchers/CMakeLists.txt
lib/Analysis/CMakeLists.txt
lib/Basic/CMakeLists.txt
lib/CodeGen/CMakeLists.txt
lib/Driver/CMakeLists.txt
lib/Edit/CMakeLists.txt
lib/Format/CMakeLists.txt
lib/Frontend/CMakeLists.txt
lib/FrontendTool/CMakeLists.txt
lib/Lex/CMakeLists.txt
lib/Parse/CMakeLists.txt
lib/Rewrite/Core/CMakeLists.txt
lib/Rewrite/Frontend/CMakeLists.txt
lib/Sema/CMakeLists.txt
lib/Serialization/CMakeLists.txt
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Core/CMakeLists.txt
lib/StaticAnalyzer/Frontend/CMakeLists.txt
lib/Tooling/CMakeLists.txt
tools/diagtool/CMakeLists.txt
tools/libclang/CMakeLists.txt