Re: passing info from main project to subproject
Re: passing info from main project to subproject
- Subject: Re: passing info from main project to subproject
- From: "Peter Lau" <email@hidden>
- Date: Wed, 23 May 2007 00:25:47 -0400
On 5/22/07, Chris Hanson <email@hidden> wrote:
On May 22, 2007, at 9:01 AM, Peter Lau wrote:
> My question is, can I pass #define value from main project to
> subprojects without adding a new pair of DebugWithNewContents and
> ReleaseWithNewContents in both TheApp.xcodeproj and TheLib.xcodeproj?
No. Xcode does not have "sub-projects," it has "cross-project
references."
Thanks for the mentioning the Xcode terminology... let me ask again
just to be sure:
There is no way to pass like a #define from an Xcode project to its
cross-project references with dependency?
Building a project on the other end of a cross-project reference is
almost completely identical to opening it by hand, setting its active
build configuration to one with the same name as in your original
project, and clicking the build button.
I think I have set it up correctly with I attempt to pass
info/data/#define around...
For what you're trying to do, I strongly recommend that you learn how
to build a framework that you can embed in your application instead.
A framework carries its header files with it, which means that you'll
always have up-to-date headers based on what the framework itself
supports.
I don't see the benefit to use framework over a static library. Are
you suggesting to build "TheLib" as framework with multiple version
so that "The App" can compile and link with specific as its wish?
pete
_______________________________________________
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