2016-09-06 21:16:48 +02:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Demangle
|
2021-07-09 19:10:45 +02:00
|
|
|
Option
|
2016-09-27 20:50:30 +02:00
|
|
|
Support
|
2016-09-06 21:16:48 +02:00
|
|
|
)
|
|
|
|
|
2021-07-09 19:10:45 +02:00
|
|
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
|
|
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
|
|
|
add_public_tablegen_target(CxxfiltOptsTableGen)
|
|
|
|
|
2016-09-06 21:16:48 +02:00
|
|
|
add_llvm_tool(llvm-cxxfilt
|
|
|
|
llvm-cxxfilt.cpp
|
2021-07-09 19:10:45 +02:00
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
CxxfiltOptsTableGen
|
2016-09-06 21:16:48 +02:00
|
|
|
)
|
2017-11-02 22:43:32 +01:00
|
|
|
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
|
|
add_llvm_tool_symlink(c++filt llvm-cxxfilt)
|
|
|
|
endif()
|