Jump to content
  • Advertisement

Archived

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

Floating

How to include a build-date into my application?

This topic is 5392 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

Hi, I am using MSVC6 and I would like to display somewhere when the application was built (kind of version info). How can I achieve this? Thanks

Share this post


Link to post
Share on other sites
Advertisement
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
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
Borland''s Free Commandline Tools has a touch.exe command just for that purpose Perhaps you might find it useful





--{You fight like a dairy farmer!}

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!