Making some tweaks that would make me happy as a vcpkg maintainer #382
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am currently working on getting steam-audio available via the vcpkg package manager (see microsoft/vcpkg#40942 ). However, I have had to make a substantial patch. In doing so I whipped up this PR which would minimize the work for a downstream maintainer like myself in the future.
CMAKE_OSX
variables override-able (so you can build just an arm64 or x86_64 library)When the project is marked for export the minimal dependencies linked will be fetched via config mode so they can be tracked during the export process and the dependency chain will be properly exported. In this case the dependencies (mysofa, flatbuffers, pffft) will be found via Config mode which vcpkg or another package manager should provide via its environment.
Happy to make any changes you see fit to this. I'm not married to any of it. Also, if you don't want me to make steam-audio available on vcpkg at all let me know and I can just drop this 😄