[mlir][acc] Introduce MappableType interface (#122146)
[llvm-project.git] / mlir / examples / transform / Ch3 / lib / CMakeLists.txt
blob2c04a8bab85a2a929445918a01aab16d9f19cae7
1 # Outside examples, this should be `add_mlir_library`.
2 add_mlir_example_library(
3   # Library called MyExtension.
4   MyExtensionCh3
6   # Built from the following source files.
7   MyExtension.cpp
9   # Make includes visible without top-level path.
10   ADDITIONAL_HEADER_DIRS
11   ${PROJECT_SOURCE_DIR}/examples/transform/Ch3/include
13   # Make sure ODS declaration and definitions are generated before compiling this.
14   DEPENDS
15   MyExtensionCh3IncGen
17   # Link in the transform dialect, an all generated dialects.
18   LINK_LIBS PRIVATE
19   MLIRTransformDialect
20   MLIRFuncDialect
21   MLIRSCFDialect