Commit Graph

18 Commits

Author SHA1 Message Date
Robbert van der Helm 2984b1d26f Change VST3 SDK patching to apply handwritten diff
Instead of replacing things with sed. This was a bit brittle with the
changes in 3.7.6/3.7.7, and this approach keeps compatibility with older
SDK versions.
2022-12-23 18:20:25 +01:00
Robbert van der Helm d2d4cf4ea9 Replace most uses of Boost.{Filesystem,Process}
With the `ghc::filesystem` dependency from the previous commit. If we
can replace the rest of the Boost.Filesystem dependency then we can get
rid the one nasty runtime dependency we have, and it will make
implementing the chainloading simpler since can reuse more code without
bringing in Boost.
2022-04-14 23:42:12 +02:00
Robbert van der Helm 8d96eee3c8 Remove VST3 SDK patch for shlobj.h casing
They fixed this in version 3.7.3.
2021-08-10 17:15:08 +02:00
Robbert van der Helm e1975c0795 Update VST3 SDK #include <*filesystem> patches 2021-04-03 18:15:25 +02:00
Robbert van der Helm d295b0225e No longer patch Windows.h to windows.h in VST3 SDK
This got fixed in VST 3.7.2.
2021-04-03 18:15:18 +02:00
Robbert van der Helm cee0627449 Patch the VST3 module loading for Unity builds
The narrow overload gets picked here by default.
2021-01-01 21:57:21 +01:00
Robbert van der Helm 85f818ab0b Patch the SDK for winegcc debug builds 2020-12-07 18:28:16 +01:00
Robbert van der Helm 76ad377522 Don't set __MINGW32__
This took me a few hours of non-stop headaches to figure out. Apparently
deep inside of Wine's headers having __MINGW32__ defined will cause some
GUIDs to be defined slightly differently. This normally wouldn't cause
issues, but when including `shellobj.h` or `objbase.h` this results in
multiple definition linking errors that are basically impossible to
diagnose.
2020-12-07 18:28:16 +01:00
Robbert van der Helm 21a8c232a1 Note that debug builds on winegcc fail now 2020-12-07 18:28:16 +01:00
Robbert van der Helm ebc7802c08 Patch Win32 module loading to use Boost.Filesystem
C++17's `<filesystem>` header still doesn't seem to work with winegcc.
2020-12-07 18:28:16 +01:00
Robbert van der Helm 211f6156a7 Get rid of the string conversion patch
This solved some compiler errors early on but it ended up not being
needed, and as it turns out this change actually breaks things because
the SDK uses a ton of reinterpret casts to convert between string types
internally.
2020-12-07 18:28:16 +01:00
Robbert van der Helm a4af1a2535 Fix compiling VST3 module system with winegcc 2020-12-07 18:28:16 +01:00
Robbert van der Helm f3d17b5e99 Also patch string conversion for winelib 2020-12-07 18:28:16 +01:00
Robbert van der Helm 9a57ce0c5e Use non-experimental <filesystem> in VST3 loading 2020-12-07 18:28:16 +01:00
Robbert van der Helm 06884ebf67 Also fix shlobj.h import casing 2020-12-07 18:28:16 +01:00
Robbert van der Helm 6c26168303 Patch the rest of the VST3 SDK for winegcc 2020-12-07 18:28:16 +01:00
Robbert van der Helm e7e1387c30 Also patch pluginterfaces for winegcc compilation 2020-12-07 18:28:16 +01:00
Robbert van der Helm b64c67d2ad Patch VST3 SDK base to allow winelib compilation 2020-12-07 18:28:16 +01:00