llvm.org GIT mirror llvm / release_33 unittests / Option / CMakeLists.txt
release_33

Tree @release_33 (Download .tar.gz)

CMakeLists.txt @release_33raw · history · blame

set(LLVM_LINK_COMPONENTS
  Option
  Support
  )

set(LLVM_TARGET_DEFINITIONS Opts.td)

tablegen(LLVM Opts.inc -gen-opt-parser-defs)
add_public_tablegen_target(OptsTestTableGen)

add_llvm_unittest(OptionTests
  OptionParsingTest.cpp
  )

add_dependencies(OptionTests OptsTestTableGen)