CodeScrubber
05-21-2014, 09:00 AM
I have a macro, MACRO_NAME, that has the name of another macro as its value. I need to construct a build rule based on the value of the of macro whose name is stored in MACRO_NAME. Both are temporary macros
%MACRO_NAME% is "ARCHIVE_DIRECTORY"
The value of the ARCHIVE_DIRECTORY macro is "". I need to perform a step if this is the case.
I have tries variations of:
condition:
[vbld_TempMacroObj("%MACRO_NAME%")]
I get:
Error expanding macros or script in property condexpr: <Error in System (VBScript) script code at Line 21, Column 2 (Object required: '[string: ""]')>
What am I missing?
%MACRO_NAME% is "ARCHIVE_DIRECTORY"
The value of the ARCHIVE_DIRECTORY macro is "". I need to perform a step if this is the case.
I have tries variations of:
condition:
[vbld_TempMacroObj("%MACRO_NAME%")]
I get:
Error expanding macros or script in property condexpr: <Error in System (VBScript) script code at Line 21, Column 2 (Object required: '[string: ""]')>
What am I missing?