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

Tree @stable (Download .tar.gz)

CMakeLists.txt @stableraw · 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
  )