r196864 - [CMake] clang/lib: Prune redundant dependencies.

NAKAMURA Takumi geek4civic at gmail.com
Mon Dec 9 18:36:23 PST 2013


Author: chapuni
Date: Mon Dec  9 20:36:22 2013
New Revision: 196864

URL: http://llvm.org/viewvc/llvm-project?rev=196864&view=rev
Log:
[CMake] clang/lib: Prune redundant dependencies.

Modified:
    cfe/trunk/lib/ARCMigrate/CMakeLists.txt
    cfe/trunk/lib/ASTMatchers/CMakeLists.txt
    cfe/trunk/lib/CodeGen/CMakeLists.txt
    cfe/trunk/lib/Format/CMakeLists.txt
    cfe/trunk/lib/FrontendTool/CMakeLists.txt
    cfe/trunk/lib/Rewrite/Core/CMakeLists.txt
    cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt
    cfe/trunk/lib/StaticAnalyzer/Core/CMakeLists.txt
    cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt
    cfe/trunk/lib/Tooling/CMakeLists.txt

Modified: cfe/trunk/lib/ARCMigrate/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ARCMigrate/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/ARCMigrate/CMakeLists.txt (original)
+++ cfe/trunk/lib/ARCMigrate/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -44,9 +44,7 @@ target_link_libraries(clangARCMigrate
   clangEdit
   clangFrontend
   clangLex
-  clangParse
   clangRewriteCore
-  clangRewriteFrontend
   clangSema
   clangSerialization
   clangStaticAnalyzerCheckers

Modified: cfe/trunk/lib/ASTMatchers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ASTMatchers/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/ASTMatchers/CMakeLists.txt (original)
+++ cfe/trunk/lib/ASTMatchers/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -18,6 +18,5 @@ add_dependencies(clangASTMatchers
   )
 
 target_link_libraries(clangASTMatchers
-  clangBasic
   clangAST
   )

Modified: cfe/trunk/lib/CodeGen/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CMakeLists.txt (original)
+++ cfe/trunk/lib/CodeGen/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -1,5 +1,4 @@
 set(LLVM_LINK_COMPONENTS
-  AsmParser
   BitReader
   BitWriter
   Core
@@ -14,7 +13,6 @@ set(LLVM_LINK_COMPONENTS
   Support
   Target
   TransformUtils
-  Vectorize
   )
 
 add_clang_library(clangCodeGen

Modified: cfe/trunk/lib/Format/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/Format/CMakeLists.txt (original)
+++ cfe/trunk/lib/Format/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -20,12 +20,7 @@ add_dependencies(clangFormat
   )
 
 target_link_libraries(clangFormat
-  clangAST
-  clangASTMatchers
   clangBasic
-  clangFrontend
   clangLex
-  clangRewriteCore
-  clangRewriteFrontend
   clangTooling
   )

Modified: cfe/trunk/lib/FrontendTool/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/FrontendTool/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/FrontendTool/CMakeLists.txt (original)
+++ cfe/trunk/lib/FrontendTool/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -18,7 +18,6 @@ target_link_libraries(clangFrontendTool
   clangCodeGen
   clangDriver
   clangFrontend
-  clangRewriteCore
   clangRewriteFrontend
   )
 
@@ -31,7 +30,5 @@ endif()
 if(CLANG_ENABLE_STATIC_ANALYZER)
   target_link_libraries(clangFrontendTool
     clangStaticAnalyzerFrontend
-    clangStaticAnalyzerCheckers
-    clangStaticAnalyzerCore
     )
 endif()

Modified: cfe/trunk/lib/Rewrite/Core/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/Core/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/Core/CMakeLists.txt (original)
+++ cfe/trunk/lib/Rewrite/Core/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -25,5 +25,4 @@ target_link_libraries(clangRewriteCore
   clangAST
   clangBasic
   clangLex
-  clangParse
   )

Modified: cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -30,6 +30,5 @@ target_link_libraries(clangRewriteFronte
   clangEdit
   clangFrontend
   clangLex
-  clangParse
   clangRewriteCore
   )

Modified: cfe/trunk/lib/StaticAnalyzer/Core/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/CMakeLists.txt (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -54,7 +54,6 @@ target_link_libraries(clangStaticAnalyze
   clangAST
   clangAnalysis
   clangBasic
-  clangFrontend
   clangLex
   clangRewriteCore
   )

Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -29,9 +29,6 @@ target_link_libraries(clangStaticAnalyze
   clangAnalysis
   clangBasic
   clangFrontend
-  clangLex
-  clangRewriteCore
-  clangRewriteFrontend
   clangStaticAnalyzerCheckers
   clangStaticAnalyzerCore
   )

Modified: cfe/trunk/lib/Tooling/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/CMakeLists.txt?rev=196864&r1=196863&r2=196864&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/CMakeLists.txt (original)
+++ cfe/trunk/lib/Tooling/CMakeLists.txt Mon Dec  9 20:36:22 2013
@@ -28,5 +28,4 @@ target_link_libraries(clangTooling
   clangFrontend
   clangLex
   clangRewriteCore
-  clangRewriteFrontend
   )





More information about the cfe-commits mailing list