[cfe-commits] r113416 - in /cfe/trunk/lib: AST/CMakeLists.txt Frontend/CMakeLists.txt Index/CMakeLists.txt Lex/CMakeLists.txt Parse/CMakeLists.txt Rewrite/CMakeLists.txt Sema/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Wed Sep 8 14:40:53 PDT 2010
Author: dgregor
Date: Wed Sep 8 16:40:53 2010
New Revision: 113416
URL: http://llvm.org/viewvc/llvm-project?rev=113416&view=rev
Log:
Clean up some of the CMake dependencies
Modified:
cfe/trunk/lib/AST/CMakeLists.txt
cfe/trunk/lib/Frontend/CMakeLists.txt
cfe/trunk/lib/Index/CMakeLists.txt
cfe/trunk/lib/Lex/CMakeLists.txt
cfe/trunk/lib/Parse/CMakeLists.txt
cfe/trunk/lib/Rewrite/CMakeLists.txt
cfe/trunk/lib/Sema/CMakeLists.txt
Modified: cfe/trunk/lib/AST/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CMakeLists.txt (original)
+++ cfe/trunk/lib/AST/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic)
+
add_clang_library(clangAST
APValue.cpp
ASTConsumer.cpp
Modified: cfe/trunk/lib/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/Frontend/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -1,5 +1,19 @@
set(LLVM_NO_RTTI 1)
+set( LLVM_USED_LIBS
+ clangSerialization
+ clangCodeGen
+ clangParse
+ clangSema
+ clangChecker
+ clangAnalysis
+ clangIndex
+ clangRewrite
+ clangAST
+ clangLex
+ clangBasic
+ )
+
add_clang_library(clangFrontend
ASTConsumers.cpp
ASTMerge.cpp
Modified: cfe/trunk/lib/Index/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Index/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/Index/CMakeLists.txt (original)
+++ cfe/trunk/lib/Index/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -1,5 +1,19 @@
set(LLVM_NO_RTTI 1)
+set( LLVM_USED_LIBS
+ clangSerialization
+ clangFrontend
+ clangParse
+ clangSema
+ clangChecker
+ clangAnalysis
+ clangIndex
+ clangRewrite
+ clangAST
+ clangLex
+ clangBasic
+ )
+
add_clang_library(clangIndex
ASTLocation.cpp
Analyzer.cpp
Modified: cfe/trunk/lib/Lex/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/CMakeLists.txt (original)
+++ cfe/trunk/lib/Lex/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -2,6 +2,8 @@
# TODO: Add -maltivec when ARCH is PowerPC.
+set(LLVM_USED_LIBS clangBasic)
+
add_clang_library(clangLex
HeaderMap.cpp
HeaderSearch.cpp
Modified: cfe/trunk/lib/Parse/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/CMakeLists.txt (original)
+++ cfe/trunk/lib/Parse/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangAST clangLex clangSema)
+
add_clang_library(clangParse
ParseAST.cpp
ParseCXXInlineMethods.cpp
Modified: cfe/trunk/lib/Rewrite/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/CMakeLists.txt (original)
+++ cfe/trunk/lib/Rewrite/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic)
+
add_clang_library(clangRewrite
DeltaTree.cpp
FixItRewriter.cpp
@@ -14,7 +16,7 @@
TokenRewriter.cpp
)
-add_dependencies(clangBasic
+add_dependencies(clangRewrite
ClangAttrClasses
ClangAttrList
ClangDeclNodes
Modified: cfe/trunk/lib/Sema/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/CMakeLists.txt?rev=113416&r1=113415&r2=113416&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/CMakeLists.txt (original)
+++ cfe/trunk/lib/Sema/CMakeLists.txt Wed Sep 8 16:40:53 2010
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+set(LLVM_USED_LIBS clangBasic clangAST clangLex clangAnalysis)
+
add_clang_library(clangSema
AnalysisBasedWarnings.cpp
AttributeList.cpp
More information about the cfe-commits
mailing list