llvm-project/llvm/tools/llvm-nm/CMakeLists.txt

22 lines
289 B
CMake

set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers
AllTargetsDescs
AllTargetsInfos
BinaryFormat
Core
Demangle
Object
Support
)
add_llvm_tool(llvm-nm
llvm-nm.cpp
DEPENDS
intrinsics_gen
)
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
add_llvm_tool_symlink(nm llvm-nm)
endif()