[cfe-commits] r113489 - in /cfe/trunk: lib/Analysis/CMakeLists.txt lib/Checker/CMakeLists.txt lib/CodeGen/CMakeLists.txt lib/Driver/CMakeLists.txt lib/Frontend/CMakeLists.txt lib/FrontendTool/CMakeLists.txt lib/Index/CMakeLists.txt lib/Rewrite/CMakeLists.txt lib/Serialization/CMakeLists.txt tools/c-index-test/CMakeLists.txt tools/libclang/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Thu Sep 9 08:44:59 PDT 2010
Author: dgregor
Date: Thu Sep 9 10:44:58 2010
New Revision: 113489
URL: http://llvm.org/viewvc/llvm-project?rev=113489&view=rev
Log:
Clean up CMake dependencies
Modified:
cfe/trunk/lib/Analysis/CMakeLists.txt
cfe/trunk/lib/Checker/CMakeLists.txt
cfe/trunk/lib/CodeGen/CMakeLists.txt
cfe/trunk/lib/Driver/CMakeLists.txt
cfe/trunk/lib/Frontend/CMakeLists.txt
cfe/trunk/lib/FrontendTool/CMakeLists.txt
cfe/trunk/lib/Index/CMakeLists.txt
cfe/trunk/lib/Rewrite/CMakeLists.txt
cfe/trunk/lib/Serialization/CMakeLists.txt
cfe/trunk/tools/c-index-test/CMakeLists.txt
cfe/trunk/tools/libclang/CMakeLists.txt
Modified: cfe/trunk/lib/Analysis/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CMakeLists.txt (original)
+++ cfe/trunk/lib/Analysis/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangAST clangIndex)
+
add_clang_library(clangAnalysis
AnalysisContext.cpp
CFG.cpp
Modified: cfe/trunk/lib/Checker/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/CMakeLists.txt (original)
+++ cfe/trunk/lib/Checker/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
+
add_clang_library(clangChecker
AdjustedReturnValueChecker.cpp
AggExprVisitor.cpp
Modified: cfe/trunk/lib/CodeGen/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CMakeLists.txt (original)
+++ cfe/trunk/lib/CodeGen/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangAST clangFrontend)
+
add_clang_library(clangCodeGen
BackendUtil.cpp
CGBlocks.cpp
Modified: cfe/trunk/lib/Driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/CMakeLists.txt (original)
+++ cfe/trunk/lib/Driver/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangAST clangParse)
+
add_clang_library(clangDriver
Action.cpp
Arg.cpp
Modified: cfe/trunk/lib/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/Frontend/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,14 +1,9 @@
set(LLVM_NO_RTTI 1)
set( LLVM_USED_LIBS
- clangSerialization
- clangCodeGen
+ clangDriver
clangParse
clangSema
- clangChecker
- clangAnalysis
- clangIndex
- clangRewrite
clangAST
clangLex
clangBasic
Modified: cfe/trunk/lib/FrontendTool/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/FrontendTool/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/FrontendTool/CMakeLists.txt (original)
+++ cfe/trunk/lib/FrontendTool/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,8 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangDriver clangFrontend clangRewrite clangCodeGen
+ clangChecker)
+
add_clang_library(clangFrontendTool
ExecuteCompilerInvocation.cpp
)
Modified: cfe/trunk/lib/Index/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Index/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Index/CMakeLists.txt (original)
+++ cfe/trunk/lib/Index/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangLex clangAST)
+
set( LLVM_USED_LIBS
clangSerialization
clangFrontend
@@ -27,3 +29,6 @@
Program.cpp
SelectorMap.cpp
)
+
+add_dependencies(clangIndex ClangAttrClasses ClangAttrList
+ ClangDeclNodes ClangStmtNodes)
Modified: cfe/trunk/lib/Rewrite/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/CMakeLists.txt (original)
+++ cfe/trunk/lib/Rewrite/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,6 +1,6 @@
set(LLVM_NO_RTTI 1)
-set(LLVM_USED_LIBS clangBasic)
+set(LLVM_USED_LIBS clangBasic clangAST clangParse clangFrontend)
add_clang_library(clangRewrite
DeltaTree.cpp
Modified: cfe/trunk/lib/Serialization/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/CMakeLists.txt (original)
+++ cfe/trunk/lib/Serialization/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangFrontend)
+
add_clang_library(clangSerialization
GeneratePCH.cpp
ASTCommon.cpp
Modified: cfe/trunk/tools/c-index-test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/CMakeLists.txt (original)
+++ cfe/trunk/tools/c-index-test/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -1,18 +1,6 @@
set(LLVM_NO_RTTI 1)
-set( LLVM_USED_LIBS
- libclang
- clangIndex
- clangFrontend
- clangDriver
- clangSerialization
- clangParse
- clangSema
- clangAnalysis
- clangAST
- clangLex
- clangBasic
- )
+set(LLVM_USED_LIBS libclang)
set( LLVM_LINK_COMPONENTS
bitreader
Modified: cfe/trunk/tools/libclang/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CMakeLists.txt?rev=113489&r1=113488&r2=113489&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CMakeLists.txt (original)
+++ cfe/trunk/tools/libclang/CMakeLists.txt Thu Sep 9 10:44:58 2010
@@ -6,9 +6,8 @@
clangFrontend
clangDriver
clangSerialization
- clangParse
+ clangIndex
clangSema
- clangAnalysis
clangAST
clangLex
clangBasic)
More information about the cfe-commits
mailing list