Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing section about Emscripten integration #3829

Open
leha-bot opened this issue Sep 2, 2024 · 0 comments
Open

Missing section about Emscripten integration #3829

leha-bot opened this issue Sep 2, 2024 · 0 comments

Comments

@leha-bot
Copy link

leha-bot commented Sep 2, 2024

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:

  • change [env] to [buildenv];
  • use emsdk/3.1.50 from conan-center;
  • actualize the references and step.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant