Home | History | Annotate | Download | only in diagtool
      1 set(LLVM_LINK_COMPONENTS
      2   ${LLVM_TARGETS_TO_BUILD}
      3   asmparser
      4   bitreader
      5   support
      6   mc
      7   )
      8 
      9 add_clang_executable(diagtool
     10   diagtool_main.cpp
     11   DiagTool.cpp
     12   DiagnosticNames.cpp
     13   ListWarnings.cpp
     14   ShowEnabledWarnings.cpp
     15   TreeView.cpp
     16 )
     17 
     18 add_dependencies(diagtool
     19   ClangDiagnosticIndexName
     20   )
     21 
     22 target_link_libraries(diagtool
     23   clangBasic
     24   clangLex
     25   clangSema
     26   clangFrontend
     27   )
     28 
     29 if(UNIX)
     30   set(CLANGXX_LINK_OR_COPY create_symlink)
     31 else()
     32   set(CLANGXX_LINK_OR_COPY copy)
     33 endif()
     34