1 # For a better template to copy, see examples/standalone
2 include_directories(include)
3 add_subdirectory(include)
5 set(LLVM_LINK_COMPONENTS
9 set(LLVM_TARGET_DEFINITIONS mlir/ToyCombine.td)
10 mlir_tablegen(ToyCombine.inc -gen-rewriters)
11 add_public_tablegen_target(ToyCh4CombineIncGen)
13 add_toy_chapter(toyc-ch4
18 mlir/ShapeInferencePass.cpp
23 ToyCh4ShapeInferenceInterfaceIncGen
27 include_directories(${CMAKE_CURRENT_BINARY_DIR})
28 include_directories(${CMAKE_CURRENT_BINARY_DIR}/include/)
29 target_link_libraries(toyc-ch4
34 MLIRFunctionInterfaces
38 MLIRSideEffectInterfaces