Archived

This topic is now archived and is closed to further replies.

How to include a build-date into my application?

This topic is 5173 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Thanks billybob,

What happens if the part where I have "__DATE__" does not need to be recompiled (but some other part). In that case it will not correspond to the build-date, right?

I have a dll, where should I place "__DATE__" so that at every small modification the date is actualized?

Share this post


Link to post
Share on other sites
If you had a header file that was included in every source file - containing global definitions, etc - there might be some way to get it into that.

Superpig
- saving pigs from untimely fates, and when he''s not doing that, runs The Binary Refinery.
Enginuity1 | Enginuity2 | Enginuity3 | Enginuity4
ry. .ibu cy. .abu ry. dy. "sy. .ubu py. .ebu ry. py. .ibu gy." fy. .ibu ny. .ebu

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
couldn''t you just touch (eg. update the modification time) the header in the prebuild step? seems a bit inefficient to rebuild everything.

Share this post


Link to post
Share on other sites