Re: XCode and gcc - adding include directories
Re: XCode and gcc - adding include directories
- Subject: Re: XCode and gcc - adding include directories
- From: Chris Espinosa <email@hidden>
- Date: Fri, 1 Apr 2005 14:50:40 -0800
On Apr 1, 2005, at 11:48 AM, Tommy Nordgren wrote: Do XCode supply any way to set the include directories, via a dialog? I'm experimenting with embedding perl, and the default settings for c tools projects don't include the perl core folder. Any way more useful than explicitly adding the include files to the project would be appreciated.
Click on the Project and then do a Get Info (Command I). On the Project dialog that comes up click on Styles. 3 lines down you will see Header search paths. You can set a path or paths there for included headers. Similarly you can set Library and Framework search paths as well.
Make sure when you change the settings that you set all build styles. Typically you will have a Development and Deployment build style. You can select between these at the top of the Project dialog.
This is not very useful, without a way to bring up a directory selection dialog when entering the pathnames.
Double-click the build setting or select it and click the Edit button. Then you can edit the entries individually.
Or you can drag-and-drop into the Edit sheet (or the build setting being edited) directly from the Finder.
The previous note about Build Styles is not that relevant. Build Styles should not affect your search paths; they should only change things that you want to differ from your debug version to your shipping version (e.g. stripping symbols, debug info, preprocessor directives for debug modes, etc.)
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