Re: Plugin Framework
Re: Plugin Framework
- Subject: Re: Plugin Framework
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 07 Oct 2003 16:09:33 -0400
on 03-10-07 11:50 AM, The Amazing Llama at email@hidden wrote:
>
Anytime a framework is included before the app is built, I get the
>
warning, because the linker can't access to the frameworks at the path
>
specified, as it's in the app bundle, which isn't built yet.
>
So yes, the order is correct (I think), but all of my plugins look for
>
the framework in the app, which is built last, which is why I think
>
there's gotta be a simple way around this.
I find it very hard to keep all the different Project Builder compiler and
linker build settings straight, so this might be wrong, but.... Can't you
set any target's framework search paths setting to the path to the framework
as it exists (or will exist as the compilation proceeds) in the project or
build products folder? Just add that path to whatever other framework paths
are already set, with commas separating them. You can still copy the
compiled framework into the application bundle later using a copy or script
build phase, and make sure the executable has a proper search path to the
embedded framework.
Personally, I prefer to build my frameworks as separate projects. I compile
the framework first, then compile the application with its target framework
search path set to the build products folder of the framework target. I find
that my frameworks tend to get "finished" first, so that way I don't have to
waste time on compiling and linking them when I'm down to working on my
application code.
I also keep all my build products in a custom folder dedicated to build
products for all of my projects, instead of in the separate project folders.
This has its advantages, but one downside is that it gets a little
complicated sometimes (especially when using beta development tools that
don't yet recognize custom build product folders, but that's another story.)
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.