Skip to content
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

Support ADDON_DATA in addon_config.mk #190

Merged
merged 6 commits into from
May 30, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add support for ADDON_DLLS_TO_COPY to Xcode projects
mattfelsen committed Nov 15, 2015
commit 77b8279ae8ff67d57921a04cd8c0f84129c7e072
5 changes: 5 additions & 0 deletions ofxProjectGenerator/src/projects/xcodeProject.cpp
Original file line number Diff line number Diff line change
@@ -1175,6 +1175,11 @@ void xcodeProject::addAddon(ofAddon & addon){
ofLogVerbose() << "adding addon libs: " << addon.libs[i].path;
addLibrary(addon.libs[i]);
}
for(int i=0;i<(int)addon.dllsToCopy.size();i++){
ofLogVerbose() << "adding addon dlls to bin: " << addon.dllsToCopy[i];
string dll = ofFilePath::join("addons/" + addon.name, addon.dllsToCopy[i]);
ofFile(ofFilePath::join(getOFRoot(),dll)).copyTo(ofFilePath::join(projectDir,"bin/"),false,true);
}
for(int i=0;i<(int)addon.cflags.size();i++){
ofLogVerbose() << "adding addon cflags: " << addon.cflags[i];
addCFLAG(addon.cflags[i]);