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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
osdep/dirent: add implementation for Windows SDK build and other minor changes #14038
Conversation
Download the artifacts for this pull request: |
What is "Windows SDK build" referring to here? UWP? |
I'm targeting clang |
Last time someone tried to make some syntax changes (IIRC it was something about varargs macros) to fix the build on MSVC wm4 thought it was stupid and rejected the PR. This was years ago, of course. Edit: I mistook clang-cl for what this PR actually does. |
Supporting
I see, but in practice if it is in common.h it shouldn't be a problem. Minor inconvenience at best imo. EDIT: Just to give a context mpv is a bad egg that do not actually support building with Windows SDK. libass, ffmpeg, libplacebo all support it. lua, mujs and others too, but for now I'm working on bare bones build. lua has meson wraps for >=5.3 and we are supporting up to 5.2, but this is a topic for future me. |
LuaJIT and other dependencies are in vcpkg. Giving meson can read cmake packages, the easier way is to build mpv with vcpkg packages, I think. |
Thank you for suggestion, but it is not in the scope for now. I will do it, when the time comes. |
Not sure what you want to say, but works for me. |
I don't need it, thank you. |
Updated with the rest of the changes and ci build. This PR is finished. I have some changes to add |
I will merge tomorrow if there are no objections. I think the changes are not that scary. |
ks.h has to be included first.
llvm-rc doesn't allow multi-byte codes in narrow utf-8.
This test is expected to fail without lua and osc.lua support.
EDIT: Not really, because it currently is awkward to build shared library with all subprojects build as static one. So to make it not bloated, leave as is. Meson changes for this are discussed here mesonbuild/meson#13086 (comment) I will revisit idea of shipping libmpv.so once those are merged. |
8006a5f
to
f0a9122
Compare
x86_64-pc-windows-msvc build without mingw dependency. For now it lacks some key dependencies like lua or shaderc. Will be extended in the future.
No description provided.