Re: Passing Build Settings to an included (Library) project
Re: Passing Build Settings to an included (Library) project
- Subject: Re: Passing Build Settings to an included (Library) project
- From: Jeffrey Walton <email@hidden>
- Date: Mon, 15 Apr 2013 16:11:46 -0400
On Mon, Apr 15, 2013 at 3:19 PM, David Hoerl <email@hidden> wrote:
>> If I understand what you're asking, select the project in the Project
>> navigator, and then the project editor. In Build Settings, lower-right
>> corner, add a user setting. Set the key and value according to taste. The
>> setting will be visible to all targets in the project.
>
> ---
> Does not work - it's not visible in the included library project when that
> project builds. What I did was as follows:
>
> Add a Build Setting into the primary App's Target:
>
> WTF 10 (that is, set "WTF" to "10"
>
> Add a run script into the library, and "echo $WTF", which is not defined,
> nor is WTF in the environment list that can be seen if the checkbox is set.
>
Try $(WTF) if using from a build script.
Jeff
_______________________________________________
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