• 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 17:18:58 -0800

On Apr 1, 2005, at 4:35 PM, Mike Lazear wrote:

Double-click the build setting or select it and click the Edit button.  Then you can edit the entries individually.


Chris,  I need clarification on this.


What do you mean by double-click the build setting?   Are you talking about inside of the project settings, target settings, executable settings, somewhere else?


Sorry, double-click doesn't work in 1.5, I can see why you're confused.

• Select the target
• Choose Get Info
• Select the Build tab
• Using the popup in the header on the first column, choose All Settings
• Find the Header Search Paths setting and select it
• Click the "Edit Settings" button

A sheet drops down allowing you to edit the search paths list one entry at a time, rather than on one space-delimited line.  

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.)


If you are inside of the project settings and you change the header includes , if you change just the header for one build style it does not affect the other build style.  I would think you would want your includes to be the same for both builds.


Maybe I totally misunderstood the original question. (Wouldn't be the first time)


Yes, you're right, but the point is that you shouldn't change the header includes in the project settings for that reason, you should change them in the individual target(s).  Build Styles should contain only the settings that should change when build styles change.

If you want to apply the same change (e.g. a consistent set of header search paths) to all the targets in your project. command-select the targets and choose Get Info, and edit the Header Search Paths setting there.  Your change will be applied to all the selected targets.

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: 
 >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>)
 >Re: XCode and gcc - adding include directories (From: Chris Espinosa <email@hidden>)
 >Re: XCode and gcc - adding include directories (From: Mike Lazear <email@hidden>)

  • Prev by Date: Re: RTTI Preprocessor flag
  • Next by Date: Re: search paths
  • Previous by thread: Re: XCode and gcc - adding include directories
  • Next by thread: Re: Function's default values are corrupted (Nasty bug)
  • Index(es):
    • Date
    • Thread