forked from OSchip/llvm-project
33 lines
483 B
CMake
33 lines
483 B
CMake
|
set(LLVM_OPTIONAL_SOURCES
|
||
|
PythonTestCAPI.cpp
|
||
|
PythonTestDialect.cpp
|
||
|
PythonTestModule.cpp
|
||
|
)
|
||
|
|
||
|
add_mlir_library(MLIRPythonTestDialect
|
||
|
PythonTestDialect.cpp
|
||
|
|
||
|
EXCLUDE_FROM_LIBMLIR
|
||
|
|
||
|
DEPENDS
|
||
|
MLIRPythonTestIncGen
|
||
|
|
||
|
LINK_LIBS PUBLIC
|
||
|
MLIRInferTypeOpInterface
|
||
|
MLIRIR
|
||
|
MLIRSupport
|
||
|
)
|
||
|
|
||
|
add_mlir_public_c_api_library(MLIRCAPIPythonTestDialect
|
||
|
PythonTestCAPI.cpp
|
||
|
|
||
|
DEPENDS
|
||
|
MLIRPythonTestIncGen
|
||
|
|
||
|
LINK_LIBS PUBLIC
|
||
|
MLIRCAPIInterfaces
|
||
|
MLIRCAPIIR
|
||
|
MLIRPythonTestDialect
|
||
|
)
|
||
|
|