View Single Post
  #1  
Old 04-30-2007, 11:53 AM
AndyChamp
Guest
 
Posts: n/a
vbld_FileOutOfDate

Hi,

I want to add a conditional build for some steps. I've got a file which I process through about three levels to get an output file. If the output file is newer than the input file, it's not worth the trouble.

I've added a group into my script with a condition on it:

[vbld_FileOutOfDate("%TARGETSCHEMEPATH%", "%PROCFILES_FULLPATH%")]

I've obviously messed somehting up, because it always says

Building project step 'Build only if newer'...
Error expanding macros or script in property condexpr: <Error in System (VBScript) script code at Line 258, Column 3 (Variable is undefined: 'FileOutOfDate')>

Could you give me an example please?

Thanks

Andy
Reply With Quote