Skip to content

Add example config and testing for meson build system - #27478

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:meson-testing
Aug 4, 2026
Merged

Add example config and testing for meson build system#27478
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:meson-testing

Conversation

@sbc100

@sbc100 sbc100 commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

This is a meta-build-system (like cmake) that generated Ninja by
default. It pretty popular in certain open source communities. For
example the whole Gnome and X.Org / Wayland is based on it.

Add simple tests for the meson build system along with example cross
files for wasm32 and wasm64 in test/meson/.

  • test/meson/wasm32-emscripten.ini: Cross file for wasm32 with node wrapper.
  • test/meson/wasm64-emscripten.ini: Cross file for wasm64 with -m64 flags.
  • test/meson/simple/: C test project for standard Meson build.

@sbc100
sbc100 requested review from dschuff and kripken August 2, 2026 23:31
@sbc100 sbc100 changed the title Add testing for meson build system Add example config and testing for meson build system Aug 2, 2026
@sbc100
sbc100 force-pushed the meson-testing branch 2 times, most recently from 7aa822f to 711312e Compare August 3, 2026 16:14

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm % comment

Comment thread test/test_other.py Outdated
Comment thread tools/meson/wasm32-emscripten.ini
@sbc100
sbc100 force-pushed the meson-testing branch 3 times, most recently from 5112d65 to 5327627 Compare August 3, 2026 18:51
@sbc100
sbc100 enabled auto-merge (squash) August 3, 2026 18:59
This is a meta-build-system (like cmake) that generated Ninja by
default.  It pretty popular in certain open source communities.  For
example the whole Gnome and X.Org / Wayland is based on it.

Add simple tests for the meson build system along with example cross
files for `wasm32` and `wasm64` in `test/meson/`.

* `test/meson/wasm32-emscripten.ini`: Cross file for wasm32 with `node` wrapper.
* `test/meson/wasm64-emscripten.ini`: Cross file for wasm64 with `-m64` flags.
* `test/meson/simple/`: C test project for standard Meson build.
* `test/meson/simple_64/`: C test project for wasm64 Meson build.
@sbc100
sbc100 merged commit b736ef5 into emscripten-core:main Aug 4, 2026
41 checks passed
@sbc100
sbc100 deleted the meson-testing branch August 4, 2026 00:00
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

Successfully merging this pull request may close these issues.

2 participants