Re: Can I pass some value to a sub-project?
Re: Can I pass some value to a sub-project?
- Subject: Re: Can I pass some value to a sub-project?
- From: Uli Kusterer <email@hidden>
- Date: Mon, 28 Feb 2011 17:11:11 +0100
On 24.02.2011, at 16:54, David Hoerl wrote:
> I have an Xcode project that includes a subproject (which builds a static library for the iPhone).
>
> I would dearly love the ability to pass a compile time flag (ie -D"FOO") but have had no luck. User-defined settings don't get passed along nor do the C Flags.
>
> Is there a way to do this?
Do you really need to pass a flag? IIRC if you have build configurations with the same name, and one project builds the other as a dependency, it will choose to build with that build configuration. So you might be able to make it work by choosing a different build configuration name that both of them share, instead of "Debug" or "Release".
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.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