• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcconfig files: line wrap and inheriting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: xcconfig files: line wrap and inheriting
      • From: Ladd Van Tol <email@hidden>
References: 
 >xcconfig files: line wrap and inheriting (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: X Code Archives?
  • Next by Date: Re: debugging PPC on Intel
  • Previous by thread: xcconfig files: line wrap and inheriting
  • Next by thread: Re: xcconfig files: line wrap and inheriting
  • Index(es):
    • Date
    • Thread