You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
479 B
18 lines
479 B
set(LLVM_LINK_COMPONENTS
|
|
TableGen
|
|
Support
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Automata.td)
|
|
|
|
tablegen(LLVM AutomataTables.inc -gen-searchable-tables)
|
|
tablegen(LLVM AutomataAutomata.inc -gen-automata)
|
|
add_public_tablegen_target(AutomataTestTableGen)
|
|
|
|
add_llvm_unittest(TableGenTests
|
|
CodeExpanderTest.cpp
|
|
AutomataTest.cpp
|
|
)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../utils/TableGen)
|
|
target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)
|