date-time info at compile time
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
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