Author Topic: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows  (Read 2559 times)

Offline SmileyMan

  • Single posting newcomer
  • *
  • Posts: 8
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.

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
« Reply #1 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)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline SmileyMan

  • Single posting newcomer
  • *
  • Posts: 8
Re: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
« Reply #2 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.

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: [Feature Request] Automatic creation of VERSIONINFO RC files on Windows
« Reply #3 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
« Last Edit: August 09, 2007, 09:52:55 pm by JGM »