summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames
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
commit7da9487dd4494fa3037e06c64ae03a862fdbcd02 (patch)
treebc97d2b9cc2e1c390f28a1bcb78f0ee8a636dd43 /clang/examples/PrintFunctionNames
parent07334d37dedac911af08fe2d79a4b365d6db60ca (diff)
downloadbcm5719-llvm-7da9487dd4494fa3037e06c64ae03a862fdbcd02.tar.gz
bcm5719-llvm-7da9487dd4494fa3037e06c64ae03a862fdbcd02.zip
[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. llvm-svn: 201842
Diffstat (limited to 'clang/examples/PrintFunctionNames')
-rw-r--r--clang/examples/PrintFunctionNames/CMakeLists.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt
index f24b92d320b..876b5da87c4 100644
--- a/clang/examples/PrintFunctionNames/CMakeLists.txt
+++ b/clang/examples/PrintFunctionNames/CMakeLists.txt
@@ -10,13 +10,3 @@ if( NOT WIN32 ) # Win32 mangles symbols differently, and
endif()
add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp)
-
-add_dependencies(PrintFunctionNames
- ClangAttrClasses
- ClangAttrList
- ClangCommentCommandList
- ClangCommentNodes
- ClangDeclNodes
- ClangDiagnosticCommon
- ClangStmtNodes
- )
OpenPOWER on IntegriCloud