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

Emscripten: Fix CMake issues #942

Merged
merged 2 commits into from
Jul 19, 2021
Merged

Conversation

Ghabry
Copy link
Contributor

@Ghabry Ghabry commented Jul 18, 2021

Two small fixes to the CMakeLists to make fluidsynth build when using emscripten (WASM).


Not included (obviously):

Another major problem is glib because glib does not compile when using emscripten (it needs custom patches), so I patched out glib. With glib removed I can confirm that it works. see emscripten-core/emscripten#11066

Emscripten adds a custom CMAKE_MODULE_PATH in the toolchain file.
Without these modules TestBigEndian fails.
@sonarcloud
Copy link

sonarcloud bot commented Jul 19, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@derselbst
Copy link
Member

Ok, thanks! You're welcome to say a few words about how much you like glib and about how the alternative C++11 approach could work for you: #847

@derselbst derselbst merged commit 1511b5a into FluidSynth:master Jul 19, 2021
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