Michael J. Spencer | 41ee041 | 2012-12-05 00:29:32 +0000 | [diff] [blame^] | 1 | set(LLVM_LINK_COMPONENTS |
2 | Option | ||||
3 | Support | ||||
4 | ) | ||||
5 | |||||
6 | set(LLVM_TARGET_DEFINITIONS Opts.td) | ||||
7 | |||||
8 | tablegen(LLVM Opts.inc -gen-opt-parser-defs) | ||||
9 | add_public_tablegen_target(OptsTestTableGen) | ||||
10 | |||||
11 | add_llvm_unittest(OptionTests | ||||
12 | OptionParsingTest.cpp | ||||
13 | ) | ||||
14 | |||||
15 | add_dependencies(OptionTests OptsTestTableGen) |