|
#1
|
|||
|
|||
If Clause
Hi,
I want to be able to put an "if clause" in a build script where by if a certain value is passed into it using the API, it would run one course of the build, and if a nother value is passed in, it would run the other course. The question is two part: 1) How do i make this "if clause" in the script itself? 2) How do i manipulate it using the API call. thanks in advance RT |
#2
|
|||
|
|||
Use a conditional build rule based on the existence/value of a macro, then pass the macro on the command-line or define via the object model.
http://www.visualbuild.com/Manual/buildrules.htm http://www.visualbuild.com/Manual/visbuildprosample.htm |
#3
|
|||
|
|||
thank you
|
|
|