Re: xcconfig files: line wrap and inheriting
Re: xcconfig files: line wrap and inheriting
- Subject: Re: xcconfig files: line wrap and inheriting
- From: Chris Espinosa <email@hidden>
- Date: Thu, 20 Jul 2006 21:27:50 -0700
On Jul 20, 2006, at 1:15 PM, Sean McBride wrote: 1) I have a line longer than the width of my monitor:
WARNING_CFLAGS = -Wall -Wextra ....
can I break it up?
The C way below doesn't work: WARNING_CFLAGS = -Wall \ -Wextra ....
You can turn on wrapping in the editor, but no, the very, very simple parser for .xcconfig files doesn't support broken-up lines. 2) Is $(inherited) the generic way to add to a setting? I copy and pasted this from the project:
USER_HEADER_SEARCH_PATHS = $(inherited) $(my-source-tree)
Can I use that syntax anywhere, like this:
OTHER_CPLUSPLUSFLAGS = $(inherited) -D_GLIBCXX_DEBUG
or must I do this:
OTHER_CPLUSPLUSFLAGS = $(OTHER_CPLUSPLUSFLAGS) -D_GLIBCXX_DEBUG
$(inherited) is equivalent to $(WHATEVER_SETTING_IS_BEING_DEFINED) in all cases. It refers to "the expanded value of the setting from the level that this level overrides".
Chris |
_______________________________________________
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