-
Notifications
You must be signed in to change notification settings - Fork 74
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
idea: using src folder as a reference - blue folder #485
Comments
+1, also better for projects that don't have the usual 3 (main.cpp + ofApp.h + ofApp.cpp) — at least in Xcode they all get added and show up as red missing files. |
I've tried this one with no success. no luck trying to add to Build Phases -> compile sources. alternatively I can change PG template to have all files from src listed and added recursively, as it happens with any addons folder. |
Ah well that would be a good start to solve fresh generation (I often use single-file projects…), but your original idea would be better. I wonder if the problem is related to the target for .cpp? (Or is « compile source » an equivalent of setting the target?) But yeah a scan at PG time would be great nonetheless! |
I didnt have luck by trying to add a reference "src" or ofMain.cpp manually to the files to be compiled |
finally doable in recent XCode versions. PR here |
untested idea:
but if we just use "src" as a reference, all new files go to the project without re-generating with PG.
EDIT: if this is the case we should test with random file extensions there also, like .html and .txt to see if things work ok
The text was updated successfully, but these errors were encountered: