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

23 lines
299 B
CMake

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