-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to allow to work as subordinate cmake (#91)
These changes allow the cmake functions to work at a not-top-level and to supress the default targets so you can augment your targets with wrapitude. The changes mostly amount to 1. CACHE STRING vs PARENT_SCOPE. Some thing sjust need a lifetime beyond the parent scope when PARENT_SCOPE is not top level. 2. The functions called from anywhere mean we can't rely on the working directory being the current soruce, so cache current source and use it in a couple of key places. 3. Add an option to skip the build or activate it, with them on by default. I chose a "DONT ADD" rather than "ADD" flag here but might change it. This also pushes us to cmake 3.21 for PROJECT TOP LEVEL 4. Set visibilty flags for objective c as well as c++. Enable OBJC explicitly 5. Supress some warnings from the VST3 SDK we can't fix 6. Have the github actions show what was built 7. Make the '_selfcontained' style of linkage work on linux 8. Self-contained vst3 with in-library clap_entry works (as well as in-bundle plugin)
- Loading branch information
Showing
6 changed files
with
190 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.