This is an archive of the discontinued LLVM Phabricator instance.

[clang-tools-extra] [cmake] Use add_clang_tool() to install tools
ClosedPublic

Authored by mgorny on Oct 3 2019, 2:18 PM.

Details

Summary

Replace add_clang_executable() calls with add_clang_tool() that takes
care of creating correct, distribution-friendly install target. While
at it, remove redundant install calls.

This change also causes clang-move and pp-trace to be installed.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Oct 3 2019, 2:18 PM
phosek accepted this revision.Oct 3 2019, 3:33 PM

LGTM

This revision is now accepted and ready to land.Oct 3 2019, 3:33 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2019, 10:39 PM