Skip to content

Conversation

@abique
Copy link
Contributor

@abique abique commented Oct 29, 2025

No description provided.

Co-authored-by: Alexandre Bique <[email protected]>
@baconpaul
Copy link
Collaborator

I’m happy to merge this but is there a well maintained trivial mit licensed example of using it somewhere for when people inevitably ask? Should we put that on free audio or some other well named place at the same time as releasing 1.2.7?

@abique
Copy link
Contributor Author

abique commented Nov 3, 2025

I've applied latest requested change, formatted the header, added missing includes so the IDE doesn't complain when looking at the file and squashed everything into one commit.

@abique
Copy link
Contributor Author

abique commented Nov 3, 2025

@baconpaul @geraintluff
I've got a branch in which I can compile clap's hello world using emscripten.
wasi, doesn't support yet mtx_lock, I could add some preprocessor and use pthread instead.

https://github.com/abique/clap/tree/wasi-compile

edit: I managed to get wasi to link as well.

There are instructions here on how to get it to compile on archlinux
https://github.com/abique/clap/blob/wasi-compile/cmake/clang-wasm32-emscripten.cmake
https://github.com/abique/clap/blob/wasi-compile/cmake/clang-wasm32-wasi.cmake

To make our life simple we can have an example on docker/archlinux and macos/brew, that should be enough.

@geraintluff
Copy link
Contributor

#479 : links my C++ examples in "Community related projects", since it's not an official CLAP anything.

If you'd prefer a section and longer explanation about webviews and the WCLAP motivation, I can write that.

@baconpaul
Copy link
Collaborator

Right so if we merge #479 into 1.2.7 I would approve the version!

Copy link
Contributor

@geraintluff geraintluff left a comment

Choose a reason for hiding this comment

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

LGTM (Let's Get That Money)

@abique abique merged commit 29ffcc2 into main Nov 26, 2025
7 checks passed
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.

7 participants