-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[Spout2] New Port #30119
[Spout2] New Port #30119
Conversation
All feature passed with following triplets: x64-windows |
This comment was marked as resolved, but isn't IMO:
|
Sure, but But after all, user still needs to import cmake target manually. I think it is ok for user to use |
Why this still not merged?👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this port need OpenGL-related dependencies?
It has
#include <gl/gl.h> // For OpenGL definitions
ports/spout2/vcpkg.json
Outdated
"c": { | ||
"description": "The Spout SDK as a C-compatible library." | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I wonder if this makes sense to be a separate feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This C-compatible library can also be switched on/off by SPOUT_BUILD_LIBRARY
. It really doesn't make any significant difference (to me) about whether separating this option as a feature or making it default on. So I'll just leave it there, I think making this an option is better than making this default on anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add features at any time, but it is disruptive to remove them.
AFAICS this library has C++ API, so c
is a disnomer.
https://github.com/leadedge/Spout2/blob/master/SPOUTSDK/SpoutLibrary/SpoutLibrary.h
AFAIU it is just a tiny alternative DLL surface on top of Spout_static
.
https://github.com/leadedge/Spout2/blob/master/SPOUTSDK/SpoutLibrary/CMakeLists.txt
That's why I'm reluctant to accept a feature c
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sound reasonable, I'll remove that.
Yes, but it seems included in Windows SDK and doesn't makes a dependency error on both my computer and CI. |
It doesn't make errors, but vcpgk owners want port |
Thank for telling that, I'll add it. |
Fixes #30117
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxxvcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.