• 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: Including external Header files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including external Header files


  • Subject: Re: Including external Header files
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 17 Aug 2007 10:07:19 -0700

Phil Hystad wrote:

>     -I~/Documents/work/externals

IIRC, a ~ is expanded only by a shell.  Xcode is not a shell.

However, what you've given won't expand in a shell, either, because the -I
is blocking it.  A ~ will only expand when it's the first element of a
token.  'man bash' explains this in more detail.

Try $HOME instead.

Or better yet, use the Xcode build setting for an include search path.

To learn about that, choose Xcode Help from the Help menu,. enter this in
the search box:
  include search path
then hit Return.  A number of items will appear.  You want Editing Build
Settings in the Xcode Application.

  -- GG


 _______________________________________________
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: Including external Header files
      • From: Jack Repenning <email@hidden>
  • Prev by Date: Re: XCode 3....
  • Next by Date: Re: Including external Header files
  • Previous by thread: Re: Including external Header files
  • Next by thread: Re: Including external Header files
  • Index(es):
    • Date
    • Thread