[obj2yaml] - Rework tool's error reporting logic for ELF target.
[llvm-complete.git] / tools / llvm-objdump / CMakeLists.txt
blob001fcb399fa6a355b0a2ae09f423892f290e4076
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsAsmPrinters
3   AllTargetsDescs
4   AllTargetsDisassemblers
5   AllTargetsInfos
6   BinaryFormat
7   CodeGen
8   DebugInfoDWARF
9   DebugInfoPDB
10   Demangle
11   MC
12   MCDisassembler
13   Object
14   Support
15   Symbolize
16   )
18 add_llvm_tool(llvm-objdump
19   llvm-objdump.cpp
20   COFFDump.cpp
21   ELFDump.cpp
22   MachODump.cpp
23   WasmDump.cpp
24   )
26 if(HAVE_LIBXAR)
27   target_link_libraries(llvm-objdump PRIVATE ${XAR_LIB})
28 endif()
30 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
31   add_llvm_tool_symlink(objdump llvm-objdump)
32 endif()