-
Notifications
You must be signed in to change notification settings - Fork 282
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
Added miniaudio backend to cmake contrib options #334
base: master
Are you sure you want to change the base?
Added miniaudio backend to cmake contrib options #334
Conversation
…tting on by default. Turned sdl2 backend off by default
Curious what the initial contributor @valid-ptr thinks of this |
Nice PR. It can be a good idea to add ${BACKENDS_PATH}/miniaudio/miniaudio.h to the BACKENDS_SOURCES also. |
Forgive my unfamiliarity with cmake but is this necessary? |
@jarikomppa any thoughts on this? |
Header should be included because cmake can generate the project for Visual Studio or Xcode as instance. PS PPS |
Got it, thanks for the explanation! I went ahead and added it to BACKENDS_SOURCES |
Bump? |
Monthly Bump |
Bi-annual Bump |
I'm running into this issue using CMake, thanks for making this PR! I guess I'll switch to your fork until it gets merged. |
Glad I could help! |
Hello, still pretty new to cmake but this is what I needed to add to the cmake files in order to get miniaudio working correctly on both OSX (clang), windows (msvc) and linux (arm/g++).
I also turned the new Miniaudio setting on by default and turned sdl2 backend off by default. My reasoning being that since miniaudio is actually included in the project, it should be the default. LMK if you think differently and I'll change it back.