Jump to content
  • Advertisement

Archived

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

PlasmicSoup

Auto-increment build in VC++?

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

Well with all this crazy compiler talk i went out and downloaded Dev-C++, it''s a pretty nice environment, but I''ve ultimately decided I don''t like it over VC++ 6, for plenty of reasons, but thats just me. I await future versions though! It has potential. Anyway, i DO like, a lot, the feature in Dev-C++ where it auto-increments the build number on compile and saves it to a header, where i can include that and then use that number in the program. Is there something like this in VC++? Either saving it in a file or as some kind of environment variable? Thanks in advance. -plasmicsoup Gilgamesh Games

Share this post


Link to post
Share on other sites
Advertisement
Well cause no one knows i solved it myself! I made it part of my games functionality; I set the compiler to run with command lines "-b" and using my command line parser i made that load a file with the build version in it and increment the number. learn some simple file i/o and you can do it no problem.

-plasmicsoup
Gilgamesh Games

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!