Can't tell build configurations to use different libraries
Can't tell build configurations to use different libraries
- Subject: Can't tell build configurations to use different libraries
- From: "Starman" <email@hidden>
- Date: Thu, 18 Aug 2005 10:54:03 -0400
Hi
all,
I'm porting a
project from CW and I'm having a bit of trouble with one last issue. I'm trying
to separate debug and release builds using "Build Configurations" which has gone
well so far. The problem is this: I can't seem to tell the different build
configurations to use different external libraries to link with. For example, in
my debug build, I want to link in the debug libs, and in the release build I
want to link in the release libs. If I drag the debug and release libs into
"External Frameworks and Libraries", Xcode tries to be smart and link in both.
If I click on the "External Frameworks and Libraries" folder and turn a lib off
for one config, it stays off for both configs. I can't seem to figure out
how to tell Xcode "use the release lib for the release build only", and the same
for debug.
So then I
tried using different targets. The problem with that is if you're changing
targets, you have to also change configs or else your debug and release build
will go in the same directory. If I try to change the name of the executable (in
this case, a printer PDE), the PDE doesn't load because the Info.plist file
requires that <CFExecutable> and <CFBundle> be the same name as the
project. I can only change the <CFExecutable> string in the target's
Properties menu, so <CFBundle> doesn't change and the PDE doesn't
load.
Bottom line
is this - how can I tell two different configs with one target to link in
different libraries? Thanks.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden