mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
4739f740ea
This reverts commit 2c3cf62d4a26de85aab180bb43a579c913b17f3e. Causes build failures on x86_64, will respond to commit thread with link errors.
18 lines
479 B
CMake
18 lines
479 B
CMake
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)
|