conan-io / docs

conan.io reStructuredText documentation
http://docs.conan.io
MIT License
110 stars 361 forks source link

Missing section about Emscripten integration #3829

Open leha-bot opened 2 months ago

leha-bot commented 2 months ago

The old docs were here: https://docs.conan.io/1/integrations/cross_platform/emscripten.html

These docs seems almost correct - I actually seem to force Conan to work with (system) Emscripten, but don't know how to force Emscripten's cmake toolchain.

Changes for docs:

My profile which seems "to work" (platform tool is for using system cmake, so as the CC and CXX in the buildenv):

[settings]
arch=wasm
build_type=Release
os=Emscripten
compiler=clang
compiler.version=18
compiler.libcxx=libc++

[platform_tool_requires]
cmake/3.30

[buildenv]
CC=emcc
CXX=em++

Seems related to #2943