Kinook Software Forums

Kinook Software Forums (
-   [VBP] General Discussion (
-   -   Project vs. Temporary macros (

tan125 03-26-2008 03:10 PM

Project vs. Temporary macros
What is the difference between a project macro and a temporary macro? Temp macros are specific to the instance of VBP, but I guess what I'm asking is what defines the scope of a project for a project macro? If I have a project macro, and I have a step where I call a different .bld file, do I need to pass it into that .bld file or is this considered within the scope of the project?

kinook 03-26-2008 03:20 PM

Project macros are specific to a given project (.bld file). They are not automatically passed to project B when called from project A. You can pass them as temporary macros to a chained project using the Parameters tab of the VisBuildPro Project action.

Temporary macros are specific to a given VBP instance and are not persisted to disk. They are created by passing macro values on the command-line, a Set Macro action, and by various actions when a step of that action type is built (i.e., COPY_COPY_COUNT, PROCFILES_FILENAME, etc.), prompting for undefined macros, etc., and usually deleted at the end of a build. They have a higher precedence than project macros (a temporary macro X will be used over project macro X).

All times are GMT -5. The time now is 04:48 AM.

Copyright 1999-2019 Kinook Software, Inc.