Home | History | Annotate | Download | only in diagtool
      1 set( LLVM_LINK_COMPONENTS
      2   support
      3   )
      4 
      5 set( LLVM_USED_LIBS
      6   clangBasic
      7   clangLex
      8   clangSema
      9   )
     10 
     11 add_clang_executable(diagtool
     12   diagtool_main.cpp
     13   DiagTool.cpp
     14   ListWarnings.cpp
     15 )
     16 
     17 if(UNIX)
     18   set(CLANGXX_LINK_OR_COPY create_symlink)
     19 else()
     20   set(CLANGXX_LINK_OR_COPY copy)
     21 endif()
     22 
     23 install(TARGETS diagtool 
     24   RUNTIME DESTINATION bin)
     25