2025-07-06 20:43:53 +03:00
|
|
|
[settings]
|
|
|
|
|
arch=wasm
|
2026-02-06 08:55:51 +03:00
|
|
|
build_type=Release
|
|
|
|
|
compiler=emcc
|
2025-07-06 20:43:53 +03:00
|
|
|
compiler.cppstd=23
|
|
|
|
|
compiler.libcxx=libc++
|
2026-02-06 08:55:51 +03:00
|
|
|
# Optional settings to enable multithreading (see note below)
|
|
|
|
|
compiler.threads=posix
|
|
|
|
|
compiler.version=4.0.22
|
|
|
|
|
os=Emscripten
|
2025-07-06 20:43:53 +03:00
|
|
|
|
|
|
|
|
[tool_requires]
|
2026-02-06 08:55:51 +03:00
|
|
|
emsdk/4.0.22
|
2025-07-06 20:43:53 +03:00
|
|
|
cmake/3.27.0
|
2026-02-06 08:55:51 +03:00
|
|
|
|
|
|
|
|
[conf]
|
|
|
|
|
# Optional settings to enable memory allocation
|
|
|
|
|
tools.build:exelinkflags=['-sALLOW_MEMORY_GROWTH=1', '-sMAXIMUM_MEMORY=4GB', '-sINITIAL_MEMORY=64MB', '-pthread']
|
|
|
|
|
tools.build:sharedlinkflags=['-sALLOW_MEMORY_GROWTH=1', '-sMAXIMUM_MEMORY=4GB', '-sINITIAL_MEMORY=64MB', '-pthread']
|