• 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: Chris Hanson <email@hidden>
  • Date: Fri, 17 Aug 2007 11:44:00 -0700

On Aug 17, 2007, at 10:15 AM, Jack Repenning wrote:

But Xcode's commands are handed off to a shell, aren't they (via system() or popen(), perhaps)?

No, Xcode invokes the tools it uses directly unless you're using a shell script build phase or a shell script build rule. It would just be overhead to spawn a shell for every tool invocation.


Otherwise even the $HOME wouldn't be expanded in this context (though it might still for the Xcode build settings approach).

Xcode expands Xcode build settings specifically. There are a number of places Xcode gets build settings from; these and their layering are documented in the Xcode manual.


Note that while Xcode will derive build settings from environment variables, that's in the environment in which an Xcode project is built, not your shell environment. If you launch Xcode from the Finder or Dock, for example, the environment will be quite different than what you might expect as a shell user. If you invoke xcodebuild from an automated build script run as root, the environment will be different still.

  -- 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: 
 >Re: Including external Header files (From: Greg Guerin <email@hidden>)
 >Re: Including external Header files (From: Jack Repenning <email@hidden>)

  • Prev by Date: Re: Including external Header files
  • Next by Date: NDA?......
  • Previous by thread: Re: Including external Header files
  • Next by thread: Re: Including external Header files
  • Index(es):
    • Date
    • Thread