From: Eli Friedman Date: Mon, 18 May 2009 23:06:15 +0000 (+0000) Subject: Attempted CMake build fixes for r72060; this is untested, so please tell X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2aa39cd55cdb73f26fb9123e6b5a57e69fe43013;p=clang Attempted CMake build fixes for r72060; this is untested, so please tell me if there are any issues. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72063 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CMakeLists.txt b/lib/Frontend/CMakeLists.txt index 047314649f..807b469b75 100644 --- a/lib/Frontend/CMakeLists.txt +++ b/lib/Frontend/CMakeLists.txt @@ -1,8 +1,12 @@ set(LLVM_NO_RTTI 1) add_clang_library(clangFrontend + ASTConsumers.cpp + Backend.cpp FixItRewriter.cpp + GeneratePCH.cpp HTMLDiagnostics.cpp + HTMLPrint.cpp InitHeaderSearch.cpp InitPreprocessor.cpp TextDiagnosticBuffer.cpp @@ -14,5 +18,7 @@ add_clang_library(clangFrontend PCHWriterDecl.cpp PCHWriterStmt.cpp PlistDiagnostics.cpp + RewriteBlocks.cpp + RewriteObjC.cpp ManagerRegistry.cpp ) diff --git a/tools/clang-cc/CMakeLists.txt b/tools/clang-cc/CMakeLists.txt index 4ebebb74f5..9029c0a247 100644 --- a/tools/clang-cc/CMakeLists.txt +++ b/tools/clang-cc/CMakeLists.txt @@ -1,11 +1,11 @@ set(LLVM_NO_RTTI 1) set( LLVM_USED_LIBS + clangFrontend clangCodeGen clangAnalysis clangRewrite clangSema - clangFrontend clangAST clangParse clangLex @@ -23,19 +23,13 @@ set( LLVM_LINK_COMPONENTS add_clang_executable(clang-cc AnalysisConsumer.cpp - ASTConsumers.cpp - Backend.cpp CacheTokens.cpp clang-cc.cpp DependencyFile.cpp DiagChecker.cpp - GeneratePCH.cpp - HTMLPrint.cpp PrintParserCallbacks.cpp PrintPreprocessedOutput.cpp - RewriteBlocks.cpp RewriteMacros.cpp - RewriteObjC.cpp RewriteTest.cpp Warnings.cpp )