Home | History | Annotate | Download | only in Frontend
      1 set( LLVM_USED_LIBS
      2   clangAST
      3   clangBasic
      4   clangDriver
      5   clangLex
      6   clangParse
      7   clangSema
      8   clangSerialization
      9   )
     10 
     11 add_clang_library(clangFrontend
     12   ASTConsumers.cpp
     13   ASTMerge.cpp
     14   ASTUnit.cpp
     15   CacheTokens.cpp
     16   CompilerInstance.cpp
     17   CompilerInvocation.cpp
     18   CreateInvocationFromCommandLine.cpp
     19   DependencyFile.cpp
     20   FrontendAction.cpp
     21   FrontendActions.cpp
     22   FrontendOptions.cpp
     23   HeaderIncludeGen.cpp
     24   InitHeaderSearch.cpp
     25   InitPreprocessor.cpp
     26   LangStandards.cpp
     27   LogDiagnosticPrinter.cpp
     28   MultiplexConsumer.cpp
     29   PrintPreprocessedOutput.cpp
     30   TextDiagnosticBuffer.cpp
     31   TextDiagnosticPrinter.cpp
     32   VerifyDiagnosticsClient.cpp
     33   Warnings.cpp
     34   )
     35 
     36 IF(MSVC)
     37   get_target_property(NON_ANSI_COMPILE_FLAGS clangFrontend COMPILE_FLAGS)
     38   string(REPLACE /Za
     39     "" NON_ANSI_COMPILE_FLAGS
     40     ${NON_ANSI_COMPILE_FLAGS})
     41   set_target_properties(clangFrontend PROPERTIES COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS})
     42 ENDIF(MSVC)
     43 
     44 add_dependencies(clangFrontend 
     45   ClangAttrClasses
     46   ClangAttrList
     47   ClangCC1Options
     48   ClangDiagnosticFrontend 
     49   ClangDiagnosticLex
     50   ClangDiagnosticSema
     51   ClangDeclNodes
     52   ClangStmtNodes)
     53