[Alignment] Migrate Attribute::getWith(Stack)Alignment
[llvm-core.git] / unittests / TableGen / CMakeLists.txt
blob328ba56691d7ed07bc1460a1bba478886dc82ed9
1 set(LLVM_LINK_COMPONENTS
2   TableGen
3   Support
4   )
6 set(LLVM_TARGET_DEFINITIONS Automata.td)
8 tablegen(LLVM AutomataTables.inc -gen-searchable-tables)
9 tablegen(LLVM AutomataAutomata.inc -gen-automata)
10 add_public_tablegen_target(AutomataTestTableGen)
12 add_llvm_unittest(TableGenTests
13   CodeExpanderTest.cpp
14   AutomataTest.cpp
15   )
16 include_directories(${CMAKE_SOURCE_DIR}/utils/TableGen)
17 target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)