-
Notifications
You must be signed in to change notification settings - Fork 251
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
JUCE as a submodule #335
JUCE as a submodule #335
Conversation
The cmake addition is great (thanks @showlabor)! I'd like to suggest making JUCE a submodule though. The way it is included via CPM now means it downloads around 250Mb every time a new build folder is created or JUCE gets updated. Adding it as a submodule with depth1 you end up with aprox 60Mb once, updates are incremental and it's independent from the build folder. This will also speed up potential pipeline builds.
Thanks for giving the cmake option a try! I'm glad that it does not only work on Debian :-) But, once the cmake build system is ready and tested the submodule approach should be considered. I'm a bit undecided, though, since both methods have their pros and cons. |
The submodule unpacks to 60 Mb but downloads around 12 or so (way less than 250 and only once). Your What may break things is that we both bumped Juce to 6.1.6 |
OK, I'm convinced. |
The cmake is super lovely. I will try and find some time this afternoon to update the azure pipelines file to work with it also. also now it’s on cmake I can do a clap build which is very exciting! Thanks! |
Thanks for this. Yes this makes sense, all dependencies should be a submodule.... Hi @baconpaul , I'm planning to migrate to GitHub Action (I already got the built running) since it works out of the box with the platform. |
Over in the surge discord a few more people test-compiled the latest changes and in total we now have succesful cmake-builds |
Awesome and yup, if i was starting from scratch i'd use actions too. If you find them unwieldy though we have lots of pipelines files which work nicely for juce + cmake. Oh also if you are interested and have an apple id, i have a script which signs and notarizes on macOS which would work for you once your cmake build is running. Finally i did a test clap build today. Not quite working (not dexed fault I don't think) but got it to load in BWS. So this is all around great! |
oh and hi @asb2m10 :) |
Oh, that's great, thanks for the feedback :-) |
The cmake addition is great (thanks @showlabor)!
I'd like to suggest making JUCE a submodule though.
The way it is included via CPM now means it downloads around 250Mb
every time a new build folder is created or JUCE gets updated.
Adding it as a submodule with depth1 you end up with aprox 60Mb once,
updates are incremental and it's independent from the build folder.
This will also speed up potential pipeline builds.