PDA

View Full Version : using project.save


CREvans
04-29-2008, 04:17 PM
Is there a way to use the project.save action and not have it change the setting of the PROJFILE or PROJROOT macros?

I have been asked to add in functionality to save the build script wrapper and auxillary scripts for each build with its deliverables, but when I use the project.save action it changes the value of PROJFILE and PROJROOT, which I do not want to modify within the running wrapper script itself.

Thanks!
Scott

kinook
04-29-2008, 04:23 PM
Those system macros will change when the project is saved, but you can override the value that will be used for %PROJFILE% and %PROJROOT% references in the build by defining Project, Temporary, or Global macros with the same name and desired value.
http://www.visualbuild.com/Manual/macrostab.htm