set(LLVM_LINK_COMPONENTS
  BinaryFormat
  Object
  Option
  Support
  )

set(LLVM_TARGET_DEFINITIONS Opts.td)

llvm_tablegen(Opts.inc -gen-opt-parser-defs)
add_public_tablegen_target(CvtResTableGen)

add_llvm_tool(llvm-cvtres
  llvm-cvtres.cpp
  )
