Clang] Fix expansion of response files in -Wp after integrated-cc1 change
[llvm-project.git] / llvm / tools / llvm-objdump / CMakeLists.txt
blobd8f320e83196bf85b2142971954f44f153d5e294
1 set(LLVM_LINK_COMPONENTS
2   AllTargetsDescs
3   AllTargetsDisassemblers
4   AllTargetsInfos
5   BinaryFormat
6   CodeGen
7   DebugInfoDWARF
8   DebugInfoPDB
9   Demangle
10   MC
11   MCDisassembler
12   Object
13   Support
14   Symbolize
15   )
17 add_llvm_tool(llvm-objdump
18   llvm-objdump.cpp
19   COFFDump.cpp
20   ELFDump.cpp
21   MachODump.cpp
22   WasmDump.cpp
23   )
25 if(HAVE_LIBXAR)
26   target_link_libraries(llvm-objdump PRIVATE ${XAR_LIB})
27 endif()
29 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
30   add_llvm_tool_symlink(objdump llvm-objdump)
31 endif()