Re: date-time info at compile time
Re: date-time info at compile time
- Subject: Re: date-time info at compile time
- From: "Ray, Jeffrey R. {Jeff}(DFRC-ME)" <email@hidden>
- Date: Mon, 18 May 2009 12:04:34 -0500
- Acceptlanguage: en-US
- Thread-topic: date-time info at compile time
> Probably stupid question:
> Why not just use the __DATE__ and __TIME__ macros?
These macros tell you the time a particular source file was compiled. This
is useful if you want your application(s) to print a list of when each of
the component object files was compiled.
It's not so helpful with the problem of knowing when the final executable
was compiled, nor does it allow you to have a single string that every
executable in a toolset uses, such as you might want for release
documentation or a version command.
Since the original poster was using a makefile define (the old way of
getting around this problem), I assumed he was solving that kind of problem.
-jrr
_______________________________________________
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