[CMake] Add install target for the lld tool
authorPetr Hosek <phosek@chromium.org>
Fri, 23 Dec 2016 00:22:47 +0000 (00:22 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 23 Dec 2016 00:22:47 +0000 (00:22 +0000)
commitf367a2a52b07f2b25e83c4b6890efdb8bf946093
treecb45e60f8c2578bd96171f6f4a08ae6a46b7c6d2
parent7b8a91434af55efa0d36e6c295190a8149b87159
[CMake] Add install target for the lld tool

This is necessary for the distribution targets which assume that
each component has an install target. This also moves the CMake
macros into a separate file akin to other LLVM projects.

Differential Revision: https://reviews.llvm.org/D27876

llvm-svn: 290391
lld/CMakeLists.txt
lld/cmake/modules/AddLLD.cmake [new file with mode: 0644]
lld/tools/lld/CMakeLists.txt