Home | History | Annotate | Download | only in FrontendTool
      1 set(LLVM_LINK_COMPONENTS
      2   Option
      3   Support
      4   )
      5 
      6 set(link_libs
      7   clangBasic
      8   clangCodeGen
      9   clangDriver
     10   clangFrontend
     11   clangRewriteFrontend
     12   )
     13 
     14 if(CLANG_ENABLE_ARCMT)
     15   list(APPEND link_libs
     16     clangARCMigrate
     17     )
     18 endif()
     19 
     20 if(CLANG_ENABLE_STATIC_ANALYZER)
     21   list(APPEND link_libs
     22     clangStaticAnalyzerFrontend
     23     )
     24 endif()
     25 
     26 add_clang_library(clangFrontendTool
     27   ExecuteCompilerInvocation.cpp
     28 
     29   DEPENDS
     30   ClangDriverOptions
     31 
     32   LINK_LIBS
     33   ${link_libs}
     34   )
     35