News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

[Feature Request] Automatic creation of VERSIONINFO RC files on Windows

Started by SmileyMan, January 10, 2007, 03:24:50 PM

Previous topic - Next topic

SmileyMan

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.

David Perfors

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)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

SmileyMan

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.

JGM

Quote from: 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?

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.next.codeblocks.org/index.php/topic,6294.0.html