-
Notifications
You must be signed in to change notification settings - Fork 75
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
Project Generator Ideas #378
Comments
One design issue: When passing multiple templates / platforms as parameter some files can be copied twice and overwritten, like Makefile (vscode template has its own, some platforms does it too) |
@ofTheo Is this ok to upgrade projectGenerator visual studio project to 2019? |
Absolutely!! 👍
|
PG major changes are merged and tested through nightly release. macOS and iOS projects seems OK. |
Trying to run locally ./scripts/osx/buildPG.sh I find some issues with npm and temporary files (Apple M1)
with this alteration the script almost until the end |
Frontend : it would be great to have an alternative to Electron, with lighter binaries like Tauri.app or Neutralino. |
PG does multiple operations of reading files, writing, renaming and find and replace text inside files. |
For the frontend stuff I am def down for anything that is lighter and easier - the app is now 300-400mb on its own. |
Yes I agree.
pros:
and I remember you mentioning about design, but I think we can manage to make something nice design-wise in OF too. |
Multiple Recursive File ListingPG list addon files recursively many times, one for frameworks, one for src, and so on. |
Duplicate codeOF PG has lots of duplicate code, like for example in addAddon function. example: void xcodeProject::addAddon(ofAddon & addon){
baseProject::addAddon(addon);
// specific xcode code here. |
Difficulty generating cross platform projectsI'm building VS projects in macOS but any project that uses libs, for ex. ofxKinect, the folder structure is not the same among different platforms, so the libs are not added. |
CWD AwareI would like the GUI PG to also be aware of the current working directory or at least have this settable via a command line argument. For example, I use the shell alias to launch it from the command line and I often wish it would know where I started it from so I don't have to manually navigate each time. We do this with the Pure Data GUI where if you start it via open or double-click in the UI it starts in a default folder but if you start it via commandline it uses CWD. The alias I current use in
I could change this to invoke the binary inside which would then be CWD aware:
In this case, we'd want to perhaps change most of the default output to a verbose flag to IM. ;) Commandline Argument Support / Bundling?Is the command line PG distinct from the GUI app? I'm thinking if the codebases are/could be the same and the Electron UI is jus ta wrapper, it would be possible to ship a single .app but allow for invoking the command line options from within the app, ala If it helps, I have been using CLI11.hpp for the last few projects and am pretty happy with it, ex. YoloOSC: https://github.com/zkmkarlsruhe/YoloOSC#commandline-options. The parsing is done in the |
EDIT: Merged
I'm working now rewriting some parts of PG, what was intented to be an issue fix transformed itself in a big patch
I'll be using here to discuss some ideas of things that can be changed / improved / simplified in near future.
PS: this can be moved to discussion if we enable discussion on this repo.
The text was updated successfully, but these errors were encountered: