I have a project that needs to link against some dylibs that I can find easily in XCode’s “External LIbraries To Link” search bar, and the project builds without an issue when these libraries are added manually.
The problem I’m running into is that these aren’t frameworks, and adding anything to that line will generate
whatever.framework and I can’t find which field in the projucer will save these additions from being nuked every time I save my project from the Projucer.
It was suggested in some other threads that adding
-L<complete path to the folder with the dylib> and
-l<lib-less name of dylib> to the “extra linker flags” line might work, but I must being doing something wrong there too because I haven’t figured that one out either.
I want to add libcurl.dylib and libz.dylib and a few other libraries from the OS X 10.9 dev tools in the path:
Does anyone have ideas about how to add these libraries without manually managing the XCode project every time the Projucer saves?