forked from OSchip/llvm-project
29 lines
451 B
CMake
29 lines
451 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmParsers
|
|
AllTargetsDescs
|
|
AllTargetsInfos
|
|
BinaryFormat
|
|
Core
|
|
Demangle
|
|
Object
|
|
Option
|
|
Support
|
|
TextAPI
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(NmOptsTableGen)
|
|
|
|
add_llvm_tool(llvm-nm
|
|
llvm-nm.cpp
|
|
|
|
DEPENDS
|
|
NmOptsTableGen
|
|
intrinsics_gen
|
|
)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(nm llvm-nm)
|
|
endif()
|