• 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: XCode and gcc - adding include directories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: XCode and gcc - adding include directories
      • From: Mike Lazear <email@hidden>
References: 
 >XCode and gcc - adding include directories (From: Tommy Nordgren <email@hidden>)
 >Re: XCode and gcc - adding include directories (From: Mike Lazear <email@hidden>)
 >Re: XCode and gcc - adding include directories (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: search paths
  • Next by Date: RTTI Preprocessor flag
  • Previous by thread: Re: XCode and gcc - adding include directories
  • Next by thread: Re: XCode and gcc - adding include directories
  • Index(es):
    • Date
    • Thread