llvm/llvm/tools/obj2yaml/CMakeLists.txt

set(LLVM_LINK_COMPONENTS
  BinaryFormat
  DebugInfoCodeView
  DebugInfoDWARF
  Object
  ObjectYAML
  Support
  )

add_llvm_utility(obj2yaml
  archive2yaml.cpp
  obj2yaml.cpp
  coff2yaml.cpp
  dwarf2yaml.cpp
  dxcontainer2yaml.cpp
  elf2yaml.cpp
  macho2yaml.cpp
  minidump2yaml.cpp
  offload2yaml.cpp
  xcoff2yaml.cpp
  wasm2yaml.cpp
  )