llvm/llvm/lib/BinaryFormat/CMakeLists.txt

add_llvm_component_library(LLVMBinaryFormat
  AMDGPUMetadataVerifier.cpp
  COFF.cpp
  Dwarf.cpp
  DXContainer.cpp
  ELF.cpp
  MachO.cpp
  Magic.cpp
  Minidump.cpp
  MsgPackDocument.cpp
  MsgPackDocumentYAML.cpp
  MsgPackReader.cpp
  MsgPackWriter.cpp
  Wasm.cpp
  XCOFF.cpp

  ADDITIONAL_HEADER_DIRS
  ${LLVM_MAIN_INCLUDE_DIR}/llvm/BinaryFormat

  LINK_COMPONENTS
  Support
  TargetParser
  )