set(LLVM_NO_RTTI 1)

add_clang_library(clangFrontend
  AnalysisConsumer.cpp
  ASTConsumers.cpp
  ASTUnit.cpp
  Backend.cpp
  CacheTokens.cpp
  DeclXML.cpp
  DependencyFile.cpp
  DiagChecker.cpp
  DocumentXML.cpp
  FixItRewriter.cpp
  GeneratePCH.cpp
  HTMLDiagnostics.cpp
  HTMLPrint.cpp
  InitHeaderSearch.cpp
  InitPreprocessor.cpp
  ManagerRegistry.cpp
  PCHReader.cpp
  PCHReaderDecl.cpp
  PCHReaderStmt.cpp
  PCHWriter.cpp
  PCHWriterDecl.cpp
  PCHWriterStmt.cpp
  PlistDiagnostics.cpp
  PrintParserCallbacks.cpp
  PrintPreprocessedOutput.cpp
  RewriteBlocks.cpp
  RewriteMacros.cpp
  RewriteObjC.cpp
  RewriteTest.cpp
  StmtXML.cpp
  TextDiagnosticBuffer.cpp
  TextDiagnosticPrinter.cpp
  TypeXML.cpp
  Warnings.cpp
  )

add_dependencies(clangFrontend ClangDiagnosticFrontend)

set(LLVM_NO_RTTI 1)

add_clang_library(clangFrontend
  AnalysisConsumer.cpp
  ASTConsumers.cpp
  ASTUnit.cpp
  Backend.cpp
  CacheTokens.cpp
  DeclXML.cpp
  DependencyFile.cpp
  DiagChecker.cpp
  DocumentXML.cpp
  FixItRewriter.cpp
  GeneratePCH.cpp
  HTMLDiagnostics.cpp
  HTMLPrint.cpp
  InitHeaderSearch.cpp
  InitPreprocessor.cpp
  ManagerRegistry.cpp
  PCHReader.cpp
  PCHReaderDecl.cpp
  PCHReaderStmt.cpp
  PCHWriter.cpp
  PCHWriterDecl.cpp
  PCHWriterStmt.cpp
  PlistDiagnostics.cpp
  PrintParserCallbacks.cpp
  PrintPreprocessedOutput.cpp
  RewriteBlocks.cpp
  RewriteMacros.cpp
  RewriteObjC.cpp
  RewriteTest.cpp
  StmtXML.cpp
  TextDiagnosticBuffer.cpp
  TextDiagnosticPrinter.cpp
  TypeXML.cpp
  Warnings.cpp
  )

add_dependencies(clangFrontend 
  ClangDiagnosticFrontend 
  ClangDiagnosticLex
  ClangDiagnosticSema)

Add missing dependencies to the CMake build system
Add missing dependencies to the CMake build system

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@74162 91177308-0d34-0410-b5e6-96231b3b80d8
