Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: SmileyMan on January 10, 2007, 03:24:50 pm

Title: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
Post by: SmileyMan on January 10, 2007, 03:24:50 pm
Would it be possible for Code::Blocks to keep a track of version numbers, perhaps an auto-incrementing build number and a Major/Minor/Revision triplet?

Even better would be the autogeneration of a suitable RC file containing a VERSIONINFO structure on Windows targets.  Alternatively, for a more cross-platform approach, have command-line -D defines, or an autogenerated header file.

Even more betterer would be if it was optionally possible for the build number to track SVN revision.

I don't really mind updating my RC files, but it would be nice not to have to.

FYI, I have a corporate requirement that all DLLs and EXEs are correctly versioned.
Title: Re: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
Post by: David Perfors on January 10, 2007, 03:27:53 pm
First of all, it is better to add a feature request on the berlios page.

Second, there are some tools that already do this. (search the forum, it is discussed before)
Title: Re: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
Post by: SmileyMan on January 10, 2007, 03:51:59 pm
Well, I don't have and don't want a berlios login.  And I thought I did a pretty comprehensive forum search already, without much luck.

I'll just do it manually then.
Title: Re: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
Post by: JGM on August 09, 2007, 09:47:02 pm
Would it be possible for Code::Blocks to keep a track of version numbers, perhaps an auto-incrementing build number and a Major/Minor/Revision triplet?

This post is some kind of old but for reference the AutoVersioning plugin that I made covers almost all (or all!) of this.
http://forums.codeblocks.org/index.php/topic,6294.0.html (http://forums.codeblocks.org/index.php/topic,6294.0.html)