aboutsummaryrefslogtreecommitdiff
path: root/unittests/Option/CMakeLists.txt
blob: 185d503912fd862fa953b79e94c2948eeea73495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)