llvm/unittests/TableGen/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | TableGen |
| 3 | Support |
| 4 | ) |
| 5 | |
| 6 | set(LLVM_TARGET_DEFINITIONS Automata.td) |
| 7 | |
| 8 | tablegen(LLVM AutomataTables.inc -gen-searchable-tables) |
| 9 | tablegen(LLVM AutomataAutomata.inc -gen-automata) |
| 10 | add_public_tablegen_target(AutomataTestTableGen) |
| 11 | |
| 12 | add_llvm_unittest(TableGenTests |
| 13 | AutomataTest.cpp |
| 14 | CodeExpanderTest.cpp |
| 15 | ParserEntryPointTest.cpp |
| 16 | |
| 17 | DISABLE_LLVM_LINK_LLVM_DYLIB |
| 18 | ) |
| 19 | |
| 20 | target_link_libraries(TableGenTests PRIVATE LLVMTableGenCommon LLVMTableGen) |