Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-19-2003, 02:43 PM
ShaneJimmerson ShaneJimmerson is online now
Registered User
 
Join Date: 12-12-2003
Posts: 19
Conditionally Execute Step Based On Updated Binary

I would like to be able to conditionally perform a SourceSafe action to label a project based on whether or not a binary file in a previous compiler action was updated. The compiler actions currently determine whether or not a binary file is updated to decide whether or not to increment the version. Is there a macro or anything set that we can check in later steps that will tell us if the binary file was updated?
Reply With Quote
  #2  
Old 12-19-2003, 03:50 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
A couple options:

1) in the next step, use a conditional build rule of %LASTSTEP_OUTPUT% contains "incrementing version..." (without double quotes).

2) retrieve the project version before building and store in a temporary macro (as shown in the GetProjVer.bld sample); build the project; retrieve the version again, and then use a conditional build rule of %BEFORE_VER% is not equal to %VS6_PROJ_VER% (or %VSNET_PROJ_VER% depending on the type of project being built).
Reply With Quote
  #3  
Old 12-19-2003, 04:34 PM
ShaneJimmerson ShaneJimmerson is online now
Registered User
 
Join Date: 12-12-2003
Posts: 19
Thanks for the suggestions. I think they will work well.
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 10:17 AM.


Copyright © 1999-2023 Kinook Software, Inc.