[LinkerWrapper] Switch to add_clang_tool() macro
authorEvangelos Foutras <https://foutrelis.com/>
Mon, 13 Mar 2023 17:40:26 +0000 (12:40 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Mon, 13 Mar 2023 17:43:12 +0000 (12:43 -0500)
commitc2aabcfc8395ba30884dd3c1ecc2b192ae85a78d
tree4e8a6125db3e47d744e474cf34ddf9b6a9ee0cac
parent1b40df1de7a4b3664a55becd776c250f20db0041
[LinkerWrapper] Switch to add_clang_tool() macro

Summary:
This creates install-clang-linker-wrapper{,-stripped} targets which are
useful for Linux distro builds when using LLVM_DISTRIBUTION_COMPONENTS.

Fixes: https://bugs.archlinux.org/task/77814

Differential Revision: https://reviews.llvm.org/D145862
clang/tools/clang-linker-wrapper/CMakeLists.txt