Compiler projects using llvm
set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(DllOptionsTableGen)

add_llvm_component_library(LLVMDlltoolDriver
  DlltoolDriver.cpp

  LINK_COMPONENTS
  Object
  Option
  Support
  )

add_dependencies(LLVMDlltoolDriver DllOptionsTableGen)