Re: Need compile-time date string in C++ file in XCode ...
Re: Need compile-time date string in C++ file in XCode ...
- Subject: Re: Need compile-time date string in C++ file in XCode ...
- From: Jay Reynolds Freeman <email@hidden>
- Date: Fri, 5 Jan 2007 17:07:44 -0800
__DATE__ and __TIME__ will do for fallback, but I would like
to be able to use some of the formatting options of "date", so I
wonder if anyone has any other ideas ... ?
Thanks much to Steve Checkoway for reminding me about the built-in
macros.
-- Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
On Jan 5, 2007, at 4:52 PM, Steve Checkoway wrote:
On Jan 5, 2007, at 4:44 PM, Jay Reynolds Freeman wrote:
I would like to give my program access to a string that shows the
date it was compiled. If I build in the Terminal shell, I can use
something like
See <http://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-
Macros.html>. In particular, __DATE__ and __TIME__.
--
Steve Checkoway
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden