Skip to content
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

Update to JUCE 6.1.5 #171

Merged
merged 2 commits into from
Feb 15, 2022
Merged

Update to JUCE 6.1.5 #171

merged 2 commits into from
Feb 15, 2022

Conversation

rsjbailey
Copy link
Contributor

@rsjbailey rsjbailey commented Feb 9, 2022

Update to Juce 6.1.5 to fix a bug with key handling under macos/arm64

  • Updated JUCE submodule
  • Update license for JUCE 6
  • Include VST sdk as subproject
  • Add VST sdk target to imported JUCE::VST3 target
  • Add newly required macos frameworks to JUCE::core target
  • Change NativeMessageBox useages to reflect JUCE API changes
  • Reorder some headers to avoid issues with imported juce namespace (see issue Remove using namespace juce and juce module headers from generated JuceHeader.h #140)
  • Add /bigobj flag on windows to prevent build errors

String("Cannot delete last programme"),
"The Scene must always have at least one programme.", false);
"The Scene must always have at least one programme.", nullptr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does the box pop up if the associated component is nullptr? If it stays within the plug-in window then no problem, but if it could be anywhere, it might be missed by the user.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well anecdotally, it pops up over the plugin window. But yes, good point. I'll go check the docs :)

@firthm01
Copy link
Contributor

closes #174

+ add_compile_options($<$<CONFIG:Release,RelWithDebInfo,MinSizeRel>:/Ot>) # Favor Size Or Speed (Favor fast code)
+ add_compile_options($<$<CONFIG:Release,RelWithDebInfo,MinSizeRel>:/GF>) # Enable String Pooling
+ add_compile_options($<$<CONFIG:Release,RelWithDebInfo,MinSizeRel>:/EHa>) # Enable C++ Exceptions
+ add_compile_options($<$<CONFIG:Release,RelWithDebInfo,MinSizeRel>:/Oy>) # Omit Frame Pointers
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to keep frame pointers on RelWithDebInfo as it gives you better stack traces.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the favour size or speed should be set to size for MinSizeRel

Comment on lines 22 to 23
- "$<$<CONFIG:Release>:${TARGET_DESTINATION_RELEASE}>"
+ "$<$<CONFIG:Release,RelWithDebInfo,MinSizeRel>:${TARGET_DESTINATION_RELEASE}>"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not an issue as I don't think we actually hit this code, but should we have different target destinations for the different configs here?

@rsjbailey rsjbailey force-pushed the update-juce-6_1_5 branch 2 times, most recently from f954c8e to afe45dc Compare February 11, 2022 12:41
* Updated JUCE submodule
* Update license for JUCE 6
* Include VST3 sdk as subproject
* Add VST sdk target to imported JUCE::VST3 target
* Patch VST3 SDK to add missing cmake configs
* Patch VST3 SDK to remove ide folder modification
* Add newly required macos frameworks to JUCE::core target
* Change NativeMessageBox useages to reflect JUCE API changes
* Reorder some headers to avoid issues with imported juce namespace (see issue #140)
* Add /bigobj flag on windows to prevent build errors
@rsjbailey rsjbailey merged commit 04eda5c into main Feb 15, 2022
@firthm01 firthm01 deleted the update-juce-6_1_5 branch October 17, 2022 14:19
@firthm01 firthm01 restored the update-juce-6_1_5 branch October 17, 2022 14:21
@firthm01 firthm01 deleted the update-juce-6_1_5 branch October 17, 2022 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants