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

Add SDL3 wrap. #1919

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add SDL3 wrap. #1919

wants to merge 1 commit into from

Conversation

jpakkane
Copy link
Member

Note that this is currently broken. It only does Linux. There is no configuration. It builds and links. It might work. I don't know as I did not test. Do not merge until it has at least Windows and macOS support.

@jpakkane jpakkane marked this pull request as draft February 11, 2025 21:16
@jpakkane jpakkane force-pushed the sdl3 branch 4 times, most recently from 5ae1fc4 to 86c6d90 Compare February 11, 2025 21:56
Comment on lines +198 to +202
foreach f : check_functions
if cc.has_function(f.get(1), prefix : f.get(2), dependencies: [sdl_deps])
cdata.set(f.get(0), 1)
endif
endforeach
Copy link
Member

@eli-schwartz eli-schwartz Feb 12, 2025

Choose a reason for hiding this comment

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

Early Windows failure since dl can be a Windows emulated one which we happen to provide in the wrapdb -- and thus has_function fails as it's forbidden to try to check an un-built subproject.

I suppose that isn't a general problem outside of the wrapdb CI... if https://github.com/dlfcn-win32/dlfcn-win32 isn't useful for SDL3 we can just use allow_fallback: false for it?

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