From 08bb38f7e75159f54c91667695954c5c0dbb69a0 Mon Sep 17 00:00:00 2001 From: Shoaib Meenai Date: Thu, 2 Nov 2017 21:43:32 +0000 Subject: [tools] Add option to install binutils symlinks The LLVM tools can be used as a replacement for binutils, in which case it's convenient to create symlinks with the binutils names. Add support for these symlinks in the build system. As with any other llvm tool symlinks, the user can limit the installed symlinks by only adding the desired ones to `LLVM_TOOLCHAIN_TOOLS`. Differential Revision: https://reviews.llvm.org/D39530 llvm-svn: 317272 --- llvm/tools/llvm-strings/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/tools/llvm-strings') diff --git a/llvm/tools/llvm-strings/CMakeLists.txt b/llvm/tools/llvm-strings/CMakeLists.txt index 9339892a499..390f1175139 100644 --- a/llvm/tools/llvm-strings/CMakeLists.txt +++ b/llvm/tools/llvm-strings/CMakeLists.txt @@ -8,3 +8,6 @@ add_llvm_tool(llvm-strings llvm-strings.cpp ) +if(LLVM_INSTALL_BINUTILS_SYMLINKS) + add_llvm_tool_symlink(strings llvm-strings) +endif() -- cgit v1.2.3