PDA

View Full Version : System Macro are read only can not be changed why


ilyar
06-15-2003, 03:33 AM
System Macro LOGFILE and all others are read only and can not be changed. OK button just greyed out why?

kevina
06-15-2003, 05:14 PM
As described in the help file (under System Macros):

<snip>
Visual Build Professional provides the following predefined system macros and tools. Windows also defines some of these macros as environment variables, which will take precedence over Visual Build Pro's definition (if enabled in the Macro Options dialog), and you can override these values by defining your own project or global macros or environment variables.
</snip>

System macros are just that: SYSTEM macros. You can override them as described above.

Hope this helps,

Kevin

ilyar
06-16-2003, 01:06 AM
Hi Kevina

Thanks for your answer.
I want to override LOGFILE macro to point to real log file now it is empty how can I do that.

kevina
06-16-2003, 07:31 AM
Simply create a Global or Project macro with the same name (LOGFILE), and assign it the value you want to you use for logging.

If you want to specify this value differently for every build project, then make it a project macro, if it is the same for all projects, then make it a global macro.

Hope this helps.

Kevin