mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
6c0a5fae66
Similar to D104889. The tool is very simple and its long options are uncommon, so just drop the one-dash form in this patch. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D105605
21 lines
364 B
CMake
21 lines
364 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Demangle
|
|
Option
|
|
Support
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(CxxfiltOptsTableGen)
|
|
|
|
add_llvm_tool(llvm-cxxfilt
|
|
llvm-cxxfilt.cpp
|
|
|
|
DEPENDS
|
|
CxxfiltOptsTableGen
|
|
)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(c++filt llvm-cxxfilt)
|
|
endif()
|