View Full Version : Project vs. Temporary macros
tan125
03-26-2008, 02:10 PM
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, 02: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).
http://www.visualbuild.com/Manual/macrostab.htm
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.