Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Frequently Asked Questions > Scripting
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Old 07-14-2009, 04:43 PM
digit digit is online now
Registered User
 
Join Date: 05-14-2009
Posts: 14
Passing parameters to chained project

I'm working on a VBP project now that simply calls another VBP project with some special parameters to override project-level macros.

This works very well for our purposes, but sometimes we pass additional command-line parameters to control various options like where to put source files pulled from the repository. The problem comes when I try to pass one of these additional parameters to the "parent" project: naturally, they are not also passed to the chained one.

I can workaround this by manually specifying parameters that might be used (like BUILDS_ROOT=%BUILDS_ROOT%), but obviously this isn't very flexible. Is there an easy way to propagate command-line parameters to chained projects? Or is there just an easier way to do what I am doing?

Thanks in advance.
Reply With Quote
  #2  
Old 03-11-2010, 10:16 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Check the Also pass through macros provided on command-line option on the Parameters tab (v7.5 or later).
http://www.kinook.com/VisBuildPro/Ma...ameterstab.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 On



All times are GMT -5. The time now is 07:15 PM.


Copyright © 1999-2023 Kinook Software, Inc.