brintos

brintos / llvm-project-archived public Read only

0
0
Text · 583 B · 2c04a8b Raw
23 lines · plain
1# Outside examples, this should be `add_mlir_library`.2add_mlir_example_library(3  # Library called MyExtension.4  MyExtensionCh35 6  # Built from the following source files.7  MyExtension.cpp8 9  # Make includes visible without top-level path.10  ADDITIONAL_HEADER_DIRS11  ${PROJECT_SOURCE_DIR}/examples/transform/Ch3/include12 13  # Make sure ODS declaration and definitions are generated before compiling this.14  DEPENDS15  MyExtensionCh3IncGen16 17  # Link in the transform dialect, an all generated dialects.18  LINK_LIBS PRIVATE19  MLIRTransformDialect20  MLIRFuncDialect21  MLIRSCFDialect22)23