Skip to content

[wasm] Consolidate native build logic for WASM #116390

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Jun 6, 2025

Make the Windows and not-Windows logic match; remove unnecessary arguments.


set __ExtraCmakeParams=%__ExtraCmakeParams% "-DCMAKE_TOOLCHAIN_FILE=!EMSDK_PATH!/emscripten/cmake/Modules/Platform/Emscripten.cmake"
set __UseEmcmake=1
set EMSDK_QUIET=1 && call !EMSDK_PATH!/emsdk_env
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any opinions on EMSDK_QUIET? Windows was "quiet", not-Windows was "shouty", I made them both "quiet" because emsdk_env prints the full PATH. But I can very easily be convinced it's better to be more verbose with this thing.

@SingleAccretion SingleAccretion marked this pull request as ready for review June 7, 2025 11:52
@SingleAccretion SingleAccretion added the arch-wasm WebAssembly architecture label Jun 7, 2025
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant