Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-10-2007, 07:13 AM
sri sri is online now
Registered User
 
Join Date: 03-22-2006
Location: India
Posts: 8
increment build number

I have automated the build i want to increment the build number by itself upto a particular date.

we change the build number in rc and cpp files.

Can you tell how can i automate it?

Last edited by sri; 04-10-2007 at 07:15 AM.
Reply With Quote
  #2  
Old 04-10-2007, 08:28 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
It's unclear what you mean by increment a build number up to a particular date.

As far as incrementing a build number, see 'Update Global Macro' section of the Script.bld sample.
http://www.visualbuild.com/Manual/scriptsample.htm

To format the date in a field value, use a script expression and the vbld_FormatDateEx script function.
http://www.visualbuild.com/Manual/scriptexpressions.htm
http://www.visualbuild.com/Manual/sysscriptdatetime.htm

You can use the Replace in File action to update text in a .cpp/.rc file.
http://www.visualbuild.com/Manual/filereplaceaction.htm
http://www.visualbuild.com/Manual/filessample.htm

You can also use the Make VS.NET or Make VC6 action to update a version or property field in the VERSIONINFO resource of a .rc file.
http://www.visualbuild.com/Manual/vs...olutiontab.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:47 PM.


Copyright © 1999-2023 Kinook Software, Inc.