-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
PG should generate example projects in non-core addons #1234
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
Comments
sounds kind of cool, especially as a lot of addon example projects become 'rotten' as the examples advance that said, it might even be worth opening up the discussion about whether project-per-addon is desirable enough to be standardised as a PG compatible option (many addons may be small enough that project-per-addon is unnecessary). that also suggests perhaps that PG should be generating anyway, in more direct response to the OP, |
Sorry, but I don't really get what you mean with "one project per addon". If an addons has multiple examples (e.g. ofxUI has loads!), how would that work? How could you run just the one you want, if you only got one project per addon? |
ah. it works well for me (saves a lot of time when working across a bunch of apps with common addons, especially when you're making lots of changes to those addons at the same time). |
Ah ic. But the generated addon example projects could still link to that project-per-addon (they're just another app, just not in /examples/...), so I don't see how this would not work with your workflow? I agree, it's better to take the discussion about one-project-per-addon elsewhere, please open a new issue for that. |
yep. it would work, and PG could generate everything appropriately if it was coded to |
It would be great if the PG could get an option to generate the examples of non-core addons which the user has downloaded and placed in
OF/addons/
. This would really be useful to quickly look at/work with an addon.The PG already knows about these addons. It would scan for folders in am addon's root directory with
example
in the name somewhere, and probably check the requisite structure (src
folder,addons.make
in place, etc), then generate the project file just the way it would if the example were inOF/examples/addons/someExample
. Folder depth is the same, so I hope this is just a matter of adjusting the root folder for the example generation process -addons
instead ofexamples
.Thoughts? Feedback?
The text was updated successfully, but these errors were encountered: