projectGenerator
projectGenerator copied to clipboard
Latest v.65 doesn't add local frameworks. ofxMidi doesn't add CoreMidi
Latest v.65 doesn't add local frameworks. ofxMidi doesn't add CoreMidi cc: @danoli3
it seems PG is prepending an absolute path to the addon name
/Volumes/tool/ofw/addons/ofxMidi/CoreMIDI
I've made this ugly patch locally just to use PG today
else if(variable == ADDON_FRAMEWORKS){
size_t found=value.find('/');
if (found==string::npos) { // This path doesn't have slashes
addReplaceStringVector(frameworks, value, emptyString, addToValue);
} else {
addReplaceStringVectorPre(frameworks, value, addonRelPath, addToValue);
}
}
Nice! Not too ugly and definitely needed. 👍
ok applied here: https://github.com/openframeworks/projectGenerator/pull/558 it can be done better later.
closed by https://github.com/openframeworks/projectGenerator/pull/558