Author: chapuni
Date: Wed Feb 26 00:41:29 2014
New Revision: 202238
URL: http://llvm.org/viewvc/llvm-project?rev=202238&view=rev
Log:
[CMake] Use LINK_LIBS instead of target_link_libraries().
Modified:
clang-tools-extra/trunk/clang-apply-replacements/CMakeLists.txt
clang-tools-extra/trunk/clang-modernize/Core/CMakeLists.txt
clang-tools-extra/trunk/clang-query/CMakeLists.txt
clang-tools-extra/trunk/clang-tidy/CMakeLists.txt
clang-tools-extra/trunk/clang-tidy/google/CMakeLists.txt
clang-tools-extra/trunk/clang-tidy/llvm/CMakeLists.txt
Modified: clang-tools-extra/trunk/clang-apply-replacements/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-apply-replacements/CMakeLists.txt?rev=202238&r1=202237&r2=202238&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-apply-replacements/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-apply-replacements/CMakeLists.txt Wed Feb 26
00:41:29 2014
@@ -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
Modified: clang-tools-extra/trunk/clang-modernize/Core/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-modernize/Core/CMakeLists.txt?rev=202238&r1=202237&r2=202238&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-modernize/Core/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-modernize/Core/CMakeLists.txt Wed Feb 26
00:41:29 2014
@@ -7,8 +7,8 @@ add_clang_library(modernizeCore
IncludeExcludeInfo.cpp
PerfSupport.cpp
IncludeDirectives.cpp
- )
-target_link_libraries(modernizeCore
+
+ LINK_LIBS
clangAST
clangASTMatchers
clangBasic
Modified: clang-tools-extra/trunk/clang-query/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-query/CMakeLists.txt?rev=202238&r1=202237&r2=202238&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-query/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-query/CMakeLists.txt Wed Feb 26 00:41:29 2014
@@ -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
Modified: clang-tools-extra/trunk/clang-tidy/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/CMakeLists.txt?rev=202238&r1=202237&r2=202238&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-tidy/CMakeLists.txt Wed Feb 26 00:41:29 2014
@@ -9,8 +9,8 @@ add_clang_library(clangTidy
DEPENDS
ClangSACheckers
- )
-target_link_libraries(clangTidy
+
+ LINK_LIBS
clangAST
clangASTMatchers
clangBasic
Modified: clang-tools-extra/trunk/clang-tidy/google/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/CMakeLists.txt?rev=202238&r1=202237&r2=202238&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-tidy/google/CMakeLists.txt Wed Feb 26
00:41:29 2014
@@ -2,8 +2,8 @@ set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangTidyGoogleModule
GoogleTidyModule.cpp
- )
-target_link_libraries(clangTidyGoogleModule
+
+ LINK_LIBS
clangAST
clangASTMatchers
clangBasic
Modified: clang-tools-extra/trunk/clang-tidy/llvm/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/llvm/CMakeLists.txt?rev=202238&r1=202237&r2=202238&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/llvm/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-tidy/llvm/CMakeLists.txt Wed Feb 26 00:41:29
2014
@@ -2,8 +2,8 @@ set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangTidyLLVMModule
LLVMTidyModule.cpp
- )
-target_link_libraries(clangTidyLLVMModule
+
+ LINK_LIBS
clangAST
clangASTMatchers
clangBasic
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits