Mercurial > hg > CbC > CbC_llvm
view clang/tools/diagtool/CMakeLists.txt @ 176:de4ac79aef9d
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 17:13:11 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
set(LLVM_LINK_COMPONENTS Support ) add_clang_executable(diagtool diagtool_main.cpp DiagTool.cpp DiagnosticNames.cpp FindDiagnosticID.cpp ListWarnings.cpp ShowEnabledWarnings.cpp TreeView.cpp ) clang_target_link_libraries(diagtool PRIVATE clangBasic clangFrontend ) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) install(TARGETS diagtool COMPONENT diagtool RUNTIME DESTINATION bin) if (NOT LLVM_ENABLE_IDE) add_llvm_install_targets(install-diagtool DEPENDS diagtool COMPONENT diagtool) endif() endif()