Re: Header Search Paths in .xcconfig doesn't work
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