I was wondering what’s the most convenient way to arrange files in a more bigger project with lots of classes, test apps and assets.
So far, when I create a Project folder (
apps/ProjectName/) I create folders inside it:
Shared Data/- this is like
data/folder but for all different sketches, so I dont’ have to copypaste them
testTimer/- oF app
testScreens/- oF app
testUi/- oF app
finalOfApp/- oF app
Then I use this line in every ProjectName/testXXXX
The problem is when I want to use binaries outside IDE (I use VS2015, win8). This path doesn’t work anymore. The only way is to add text file (for example
datafolder.txt) with a path and read data path from this file:
string dataFolder; ofFile file("datafolder.txt"); file >> dataFolder; ofSetDataPathRoot(dataFolder);
Is this a mess or a correct way to organize shared data?