mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-03 18:26:18 +00:00
![]() 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. ``` |
||
---|---|---|
.. | ||
src | ||
wasm-apps | ||
CMakeLists.txt | ||
README.md |
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
$ ...