forked from OSchip/llvm-project
32 lines
504 B
CMake
32 lines
504 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmPrinters
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
CodeGen
|
|
DebugInfoDWARF
|
|
DebugInfoPDB
|
|
Demangle
|
|
MC
|
|
MCDisassembler
|
|
Object
|
|
Support
|
|
Symbolize
|
|
)
|
|
|
|
add_llvm_tool(llvm-objdump
|
|
llvm-objdump.cpp
|
|
COFFDump.cpp
|
|
ELFDump.cpp
|
|
MachODump.cpp
|
|
WasmDump.cpp
|
|
)
|
|
|
|
if(HAVE_LIBXAR)
|
|
target_link_libraries(llvm-objdump PRIVATE ${XAR_LIB})
|
|
endif()
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(objdump llvm-objdump)
|
|
endif()
|