blob: 33338a679af3cec334ef18573f100af84a571a05 [file] [log] [blame]
# Outside examples, this should be `add_mlir_library`.
add_mlir_example_library(
# Library called MyExtension.
MyExtensionCh4
# Built from the following source files.
MyExtension.cpp
# Make includes visible without top-level path.
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/examples/transform/Ch4/include
# Make sure ODS declaration and definitions are generated before compiling this.
DEPENDS
MyExtensionCh4IncGen
# Link in the transform dialect, an all generated dialects.
LINK_LIBS PRIVATE
MLIRTransformDialect
)