• 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: Header Search Paths in .xcconfig doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Header Search Paths in .xcconfig doesn't work


  • Subject: Re: Header Search Paths in .xcconfig doesn't work
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 30 Mar 2007 08:51:45 -0700


On Mar 30, 2007, at 6:58 AM, Steve Mills wrote:

Is there some special way that I need to reformat the header search paths in an .xcconfig file? I simply selected all the settings I wanted to copy from the Project Settings window, hit Copy, then pasted them into a text file, deleted them from Project Settings (to get rid of the overrides there), and chose the config file as the Based On. The header search paths came out as this in the .xcconfig:


HEADER_SEARCH_PATHS = /usr/headers/ ../../../../commonutils/apple//** ../../../../commonutils/portbert//** ../../../../commonutils/dogbert//** source pch ../../../portablecrossproject/


Yet when I view this setting in Project Settings, it stops before the first "//**". Clicking the Edit button reveals that it really has stopped parsing at that point, and doing a build also confirms that it's wrong. So, bug or does it need to be reformatted? (It's still a bug, because what you copy from Project Settings should be in the correct format for a .xcconfig.)


//, in a path, is a no-op: you don't need to double a slash.  It's that way probably because it's a concatenation of two other values, one that ends with a slash and one that starts with a slash.

But we do support C- and C++-style comments in .xcconfig files, and by using a // you are commenting out the rest of the line.

Change the // to a / and you should be fine.

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

References: 
 >Header Search Paths in .xcconfig doesn't work (From: Steve Mills <email@hidden>)

  • Prev by Date: gdb crashing
  • Next by Date: Re: Fixing line endings
  • Previous by thread: Header Search Paths in .xcconfig doesn't work
  • Next by thread: gdb crashing
  • Index(es):
    • Date
    • Thread