forked from OSchip/llvm-project
26 lines
378 B
CMake
26 lines
378 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Demangle
|
|
Support
|
|
TableGen
|
|
)
|
|
|
|
set(LIBS
|
|
MLIRIR
|
|
MLIRPDLLAST
|
|
MLIRPDLLCodeGen
|
|
MLIRPDLLODS
|
|
MLIRPDLLParser
|
|
)
|
|
|
|
add_tablegen(mlir-pdll MLIR_PDLL
|
|
mlir-pdll.cpp
|
|
|
|
DEPENDS
|
|
${LIBS}
|
|
)
|
|
|
|
set_target_properties(mlir-pdll PROPERTIES FOLDER "Tablegenning")
|
|
target_link_libraries(mlir-pdll PRIVATE ${LIBS})
|
|
|
|
mlir_check_all_link_libraries(mlir-pdll)
|