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

Question: how do I add WEB_MIDI_API to my cmake subfolder file? #303

Open
shemeshg opened this issue Sep 30, 2022 · 0 comments
Open

Question: how do I add WEB_MIDI_API to my cmake subfolder file? #303

shemeshg opened this issue Sep 30, 2022 · 0 comments

Comments

@shemeshg
Copy link

  • Expected behavior and actual behavior.

I'd like to compile my Qt project with emscripten,.
I guess I need to add some definitions in my cmake file.

https://github.com/shemeshg/RtMidiWrap/blob/master/src/RtMidiRouterLib/RtMidiWrap/RtMidiLib/CMakeLists.txt

But I don't know where,

  • Steps to reproduce the problem.

I've searched the documentation
https://www.music.mcgill.ca/~gary/rtmidi/#:~:text=RtMidi%3A%3AopenVirtualPort()%20function.-,Compiling,-In%20order%20to

and found nothing about emscripten, yet I can see #if defined(__WEB_MIDI_API__) in the RtMidi.cpp

However other platforms are well documented in this table (Had no problem)

  • Specifications like the version of the project, operating system, or hardware.

Documentation question - NA

@shemeshg shemeshg changed the title Question: how do I add Webmidi to my cmake subfilder file? Question: how do I add WEB_MIDI_API to my cmake subfolder file? Sep 30, 2022
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