diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-27 06:17:56 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-27 06:17:56 +0000 |
commit | 3eb3755949278fe10a89b92a6c4612d536f1f295 (patch) | |
tree | ffd58e9553df482dd18ae92d58a35602afa6341b /examples | |
parent | e3120ae6eb1934e83bcecb466e8c3b43f37bf6ff (diff) |
libclang, examples: [CMake] Add dependencies to tblgen'd headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/PrintFunctionNames/CMakeLists.txt | 9 | ||||
-rw-r--r-- | examples/analyzer-plugin/CMakeLists.txt | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt index a31a8f69e7..ba6a350cd9 100644 --- a/examples/PrintFunctionNames/CMakeLists.txt +++ b/examples/PrintFunctionNames/CMakeLists.txt @@ -4,6 +4,15 @@ set( LLVM_LINK_COMPONENTS support mc) add_clang_library(PrintFunctionNames PrintFunctionNames.cpp) +add_dependencies(PrintFunctionNames + ClangAttrClasses + ClangAttrList + ClangCommentNodes + ClangDeclNodes + ClangDiagnosticCommon + ClangStmtNodes + ) + target_link_libraries(PrintFunctionNames clangFrontend clangAST diff --git a/examples/analyzer-plugin/CMakeLists.txt b/examples/analyzer-plugin/CMakeLists.txt index 9ad5cace80..ba73030cc3 100644 --- a/examples/analyzer-plugin/CMakeLists.txt +++ b/examples/analyzer-plugin/CMakeLists.txt @@ -4,6 +4,15 @@ set( LLVM_LINK_COMPONENTS support mc) add_clang_library(SampleAnalyzerPlugin MainCallChecker.cpp) +add_dependencies(SampleAnalyzerPlugin + ClangAttrClasses + ClangAttrList + ClangCommentNodes + ClangDeclNodes + ClangDiagnosticCommon + ClangStmtNodes + ) + target_link_libraries(SampleAnalyzerPlugin clangStaticAnalyzerCore ) |