Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Suggestions

 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 12-17-2003, 03:31 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
Hmm, you will have to compile this 'main binary file' projectly separately from the rest of the projects anyway, since you are using different increment logic for it compared to the rest of the projects...

And you must already be detecting whether a change was made to a support file...

Do you always increment the revision number of the support components?

My suggestion is: use a compile step to compile all the projects which increments the revision number on a change (standard fare...).

Populate a macro with true when any component (including the 'main binary file' project) was changed changed, false otherwise...

Then have another compile step (compiling only the 'main binary file' project) with ForceBuild = true and set to increment the build number (but execute this step conditionally on the macro value (described above).

I know this will require compiling the main project twice, but from my perspective, this is the cleanest method of achieving what you are requesting.

Kevin
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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:56 AM.


Copyright © 1999-2023 Kinook Software, Inc.