• 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
Build settings from command execution?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build settings from command execution?


  • Subject: Build settings from command execution?
  • From: Rich Siegel <email@hidden>
  • Date: Tue, 5 Aug 2008 13:12:05 -0400

Hi all,

In my .xcconfig files, I'd like to be able to set a build setting based on the execution of a simple shell command, evaluated at build time. An example of this might be something like:

    BUILD_HOST = `hostname`

(And in fact I tried using the backtick syntax, but it didn't work.)

In searching the documentation, I wasn't able to find any instructions on how this might be done. Is it possible to set a build setting in an xcconfig file based on a shell command at build time? If it's not possible to use a config file, how might it be done otherwise?

Thanks for any advice,

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<email@hidden>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

_______________________________________________
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


  • Prev by Date: universal build of autoconf target
  • Next by Date: Turning off warning/error 'bubbles'
  • Previous by thread: Re: universal build of autoconf target
  • Next by thread: Turning off warning/error 'bubbles'
  • Index(es):
    • Date
    • Thread