diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-26 06:41:29 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-26 06:41:29 +0000 |
commit | 96986865050b12a0259813a3bfef5e2d03d3f030 (patch) | |
tree | de71df74821902e26883b6b929f92a5183a3f30e /clang-tools-extra | |
parent | 55a02eaa829eae66b980b6b1d897b8f5e67d6b01 (diff) | |
download | bcm5719-llvm-96986865050b12a0259813a3bfef5e2d03d3f030.tar.gz bcm5719-llvm-96986865050b12a0259813a3bfef5e2d03d3f030.zip |
[CMake] Use LINK_LIBS instead of target_link_libraries().
llvm-svn: 202238
Diffstat (limited to 'clang-tools-extra')
6 files changed, 12 insertions, 12 deletions
diff --git a/clang-tools-extra/clang-apply-replacements/CMakeLists.txt b/clang-tools-extra/clang-apply-replacements/CMakeLists.txt index 3b84787ba00..2458fc0ec80 100644 --- a/clang-tools-extra/clang-apply-replacements/CMakeLists.txt +++ b/clang-tools-extra/clang-apply-replacements/CMakeLists.txt @@ -4,8 +4,8 @@ set(LLVM_LINK_COMPONENTS add_clang_library(clangApplyReplacements lib/Tooling/ApplyReplacements.cpp - ) -target_link_libraries(clangApplyReplacements + + LINK_LIBS clangBasic clangRewriteCore clangTooling diff --git a/clang-tools-extra/clang-modernize/Core/CMakeLists.txt b/clang-tools-extra/clang-modernize/Core/CMakeLists.txt index 71a9d0dec11..5a7b160fb57 100644 --- a/clang-tools-extra/clang-modernize/Core/CMakeLists.txt +++ b/clang-tools-extra/clang-modernize/Core/CMakeLists.txt @@ -7,8 +7,8 @@ add_clang_library(modernizeCore IncludeExcludeInfo.cpp PerfSupport.cpp IncludeDirectives.cpp - ) -target_link_libraries(modernizeCore + + LINK_LIBS clangAST clangASTMatchers clangBasic diff --git a/clang-tools-extra/clang-query/CMakeLists.txt b/clang-tools-extra/clang-query/CMakeLists.txt index 0fb8c3c24d0..46febd60939 100644 --- a/clang-tools-extra/clang-query/CMakeLists.txt +++ b/clang-tools-extra/clang-query/CMakeLists.txt @@ -6,8 +6,8 @@ set(LLVM_LINK_COMPONENTS add_clang_library(clangQuery Query.cpp QueryParser.cpp - ) -target_link_libraries(clangQuery + + LINK_LIBS clangAST clangASTMatchers clangBasic diff --git a/clang-tools-extra/clang-tidy/CMakeLists.txt b/clang-tools-extra/clang-tidy/CMakeLists.txt index f642924da74..c3226dd8d69 100644 --- a/clang-tools-extra/clang-tidy/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/CMakeLists.txt @@ -9,8 +9,8 @@ add_clang_library(clangTidy DEPENDS ClangSACheckers - ) -target_link_libraries(clangTidy + + LINK_LIBS clangAST clangASTMatchers clangBasic diff --git a/clang-tools-extra/clang-tidy/google/CMakeLists.txt b/clang-tools-extra/clang-tidy/google/CMakeLists.txt index 7d053c7d869..935cabcf834 100644 --- a/clang-tools-extra/clang-tidy/google/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/google/CMakeLists.txt @@ -2,8 +2,8 @@ set(LLVM_LINK_COMPONENTS support) add_clang_library(clangTidyGoogleModule GoogleTidyModule.cpp - ) -target_link_libraries(clangTidyGoogleModule + + LINK_LIBS clangAST clangASTMatchers clangBasic diff --git a/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt b/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt index cf3930aa2bf..cf9baaef7e9 100644 --- a/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt @@ -2,8 +2,8 @@ set(LLVM_LINK_COMPONENTS support) add_clang_library(clangTidyLLVMModule LLVMTidyModule.cpp - ) -target_link_libraries(clangTidyLLVMModule + + LINK_LIBS clangAST clangASTMatchers clangBasic |