brintos

brintos / llvm-project-archived public Read only

0
0
Text · 548 B · 33338a6 Raw
21 lines · plain
1# Outside examples, this should be `add_mlir_library`.2add_mlir_example_library(3  # Library called MyExtension.4  MyExtensionCh45 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/Ch4/include12 13  # Make sure ODS declaration and definitions are generated before compiling this.14  DEPENDS15  MyExtensionCh4IncGen16 17  # Link in the transform dialect, an all generated dialects.18  LINK_LIBS PRIVATE19  MLIRTransformDialect20)21