wasm-micro-runtime/samples/multi-module
liang.he 159b69da38
Update cmake min to 3.14 (#4175)
3.14 is used and tested by linux mini-product

to fix

```
CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
```
2025-04-02 07:13:53 +08:00
..
src Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm-apps Update cmake min to 3.14 (#4175) 2025-04-02 07:13:53 +08:00
CMakeLists.txt Fix missing stack frame alloc/free in AOT multi-module invoke (#3562) 2024-06-24 13:56:11 +08:00
README.md fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00

WAMR MULTI-MODUEL SAMPLE

WAMR supports multi-module in both interpreter mode and aot mode.

Multi-modules will determine the running mode based on the type of the main module.

$ mkdir build
$ cd build
$ cmake ..
$ make
$ # It will build multi_module runtime and 
$ # wasm file under the ./build .
$ # If you have built wamrc,
$ # aot file will also generate.
$ ./multi_module mC.wasm
$ ...
$ ./multi_module mC.aot
$ ...