mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-17 18:49:29 +00:00

* wasi_ephemeral_nn.h: add a convenience wrapper header * wamr-wasi-extensions: add a cmake package to provide our wasi extension the sample app was tested with: * wasmtime * iwasm with https://github.com/bytecodealliance/wasm-micro-runtime/pull/4308 currently only contains wasi-nn. maybe it makes sense to add lib-socket things as well. cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/4288
14 lines
445 B
CMake
14 lines
445 B
CMake
# Copyright (C) 2025 Midokura Japan KK. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
cmake_minimum_required(VERSION 3.14)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
set(CMAKE_C_STANDARD_REQUIRED YES)
|
|
set(CMAKE_C_EXTENSIONS NO)
|
|
|
|
project(nn-classification-openvino LANGUAGES C)
|
|
add_executable(nn-classification-openvino "app.c")
|
|
find_package(wamr-wasi-nn REQUIRED)
|
|
target_link_libraries(nn-classification-openvino wamr-wasi-nn)
|