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 | a9a35c67e13bd18ffe7dc99a7e59fe529f3728bb (patch) | |
tree | 4d7c895d18eec6be04cb0696466ec1c255639536 /clang/examples | |
parent | d3f78a145875ed8a1412591bf256c96bdbdbdf36 (diff) | |
download | bcm5719-llvm-a9a35c67e13bd18ffe7dc99a7e59fe529f3728bb.tar.gz bcm5719-llvm-a9a35c67e13bd18ffe7dc99a7e59fe529f3728bb.zip |
libclang, examples: [CMake] Add dependencies to tblgen'd headers.
llvm-svn: 160849
Diffstat (limited to 'clang/examples')
-rw-r--r-- | clang/examples/PrintFunctionNames/CMakeLists.txt | 9 | ||||
-rw-r--r-- | clang/examples/analyzer-plugin/CMakeLists.txt | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt index a31a8f69e79..ba6a350cd95 100644 --- a/clang/examples/PrintFunctionNames/CMakeLists.txt +++ b/clang/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/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt index 9ad5cace806..ba73030cc37 100644 --- a/clang/examples/analyzer-plugin/CMakeLists.txt +++ b/clang/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 ) |