Build styles and project dependencies
Build styles and project dependencies
- Subject: Build styles and project dependencies
- From: David Catmull <email@hidden>
- Date: Tue, 5 Apr 2005 17:22:47 -0700
The basic question: can I make a project link to different versions of
a library depending on the build style?
I'm converting a set of projects from CodeWarrior to XCode: two
application projects, and several library projects that are used by
both apps.
In CW, each project has a debug target and a final target, and the app
project targets link to the appropriate debug/final versions of the
libraries.
So in converting to XCode, I naturally used build styles instead of
separate targets. For the Development style, I set the Executable
Prefix to "libDebug" so that my Core library project generates
libCore.a and libDebugCore.a, depending on the build style. I manually
added libDebugCore.a to the project's Products group so that everything
looks right (shouldn't XCode do this automatically?).
The first thing that looked wrong was when I added Core.xcode to an
application project, the disclosure triangle only reveals libCore.a.
So how do I get the application projects to link to the correct
libraries depending on the build style? Is this possible, or will I
have to resort to separate targets, or is there another approach?
This is with XCode 1.5, OS X 10.3.8.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
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