Re: Development and Deployment linking to libraries
Re: Development and Deployment linking to libraries
- Subject: Re: Development and Deployment linking to libraries
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 3 Sep 2008 08:53:51 -0600
On Sep 3, 2008, at 5:24 AM, Bengt Nilsson wrote:
I want to link my project to libproj/build/Development/mylib and
libproj/build/Deployment/mylib.
The libs are debug and release versions.
How do I make the distinction when I introduce the libs into my
project?
First, make sure you turn on the "place build products in customized
location" preference in Xcode. By default the built products go into a
"build" directory, but if you're working with multiple projects, then
you need to have a single build location to do what you want to do.
Second, instead of linking the library to the project directly, add
the library's project into the application's project (you can do this
by dragging the library's project bundle from the Finder into the
application project). Then, as long as you keep the configuration
names the same between the projects, Xcode will link the application
to the library in the corresponding build configuration.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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