• 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
date-time info at compile time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

date-time info at compile time


  • Subject: date-time info at compile time
  • From: George Warner <email@hidden>
  • Date: Thu, 14 May 2009 18:56:42 -0700

On May 14, 2009, at 6:19 PM, Paul M <email@hidden> wrote:
I have a Makefile which generates a date-time spec when it runs, and 
passes that into my code as a #Define, thereby allowing me to 
automaticaly include build info in the executable.

I'd like to find a way to do this from within XCode.

I'm new to the list, so hope this isnt covered by a FAQ.

printf( "%s, build date: %s, time: %s.", __PRETTY_FUNCTION__, __DATE__, __TIME__);

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)

 _______________________________________________
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: Re: date-time info at compile time
  • Next by Date: Re: iPhone Platform Compiler Symbol?
  • Previous by thread: Re: date-time info at compile time
  • Next by thread: Switching from Simulator to Device
  • Index(es):
    • Date
    • Thread