Ultimaker / conan-config

1 stars 20 forks source link

Add WASM profile #11

Closed jellespijker closed 4 months ago

jellespijker commented 5 months ago

Used when building CuraEngine as wasm.

See https://github.com/Ultimaker/CuraEngine/pull/2025

This should automatically pull in the emsdk and nodejs and disable certain options (plugins, arcus) which currently don't work for emscripten.

use as follows (after merging to dev):

conan config install https://github.com/Ultimaker/conan-config.git -a "-b dev"
cd CuraEngine
rm -rf build && conan install . --build=missing --update -pr:b cura_build.jinja -pr:h cura_wasm.jinja
cmake --preset release
cmake --build --preset release