add_subdirectory(CuTile)
add_subdirectory(Triton)
add_subdirectory(Mojo)
add_subdirectory(BangC)
set(INTENT_WEFT_SOURCE_DIR "" CACHE PATH "External Weft canonical IR source")
set(INTENT_WEFT_BINARY_DIR "" CACHE PATH "Matching Weft build using the selected MLIR")
if(INTENT_WEFT_SOURCE_DIR OR INTENT_WEFT_BINARY_DIR)
  if(NOT INTENT_WEFT_SOURCE_DIR OR NOT INTENT_WEFT_BINARY_DIR)
    message(FATAL_ERROR "Weft generation requires both its source and binary directories")
  endif()
  add_subdirectory(Weft)
endif()
