1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/unittests/TableGen/CMakeLists.txt

18 lines
508 B
CMake
Raw Normal View History

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 DISABLE_LLVM_LINK_LLVM_DYLIB
CodeExpanderTest.cpp
AutomataTest.cpp
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../utils/TableGen)
target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)