mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
fbb50d9079
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317272 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
191 B
CMake
13 lines
191 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Demangle
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-cxxfilt
|
|
llvm-cxxfilt.cpp
|
|
)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(c++filt llvm-cxxfilt)
|
|
endif()
|