llvm.org GIT mirror llvm / f6ea129 tools / llvm-readobj / CMakeLists.txt
f6ea129

Tree @f6ea129 (Download .tar.gz)

CMakeLists.txt @f6ea129raw · history · blame

set(LLVM_LINK_COMPONENTS
  DebugInfoCodeView
  DebugInfoDWARF
  Object
  BinaryFormat
  Support
  DebugInfoCodeView
  DebugInfoMSF
  DebugInfoPDB
  )

add_llvm_tool(llvm-readobj
  ARMWinEHPrinter.cpp
  COFFDumper.cpp
  COFFImportDumper.cpp
  ELFDumper.cpp
  Error.cpp
  llvm-readobj.cpp
  MachODumper.cpp
  ObjDumper.cpp
  WasmDumper.cpp
  Win64EHDumper.cpp
  WindowsResourceDumper.cpp
  )

add_llvm_tool_symlink(llvm-readelf llvm-readobj)

if(LLVM_INSTALL_BINUTILS_SYMLINKS)
  add_llvm_tool_symlink(readelf llvm-readobj)
endif()