PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: /DeletePrev[Next]: /DependsOnComplete

Switch /DependsOn:[-]GenerateMask

This is a PPWIZARD command line switch. You can set up your own default switches in the "PPWIZARD_OPTIONS" environment variable or in project files.

This option requires a parameter which controls how the "InputFile" parameter is transformed into the name of a dependancy file. The default is that there is no dependancy file (therefore dependancies are not checked). If you use dependancy files then the output is only built if required (a source file has changed).

Unless you preceeded the Generate Mask parameter with a '-' the dependancy checking progress is displayed.

PPWIZARD knows how to create a complete dependancy file unless you access files directly (via rexx with "linein()", "lineout(), "charin()" or similar functions). If you do directly access a file you will need to help ppwizard by using the #DependsOn command or the AddInputFileToDependancyList() or AddOutputFileToDependancyList() rexx functions.

This switch can be used any number of times and will affect all input masks that follow. For backwards compatability, if an input mask is found before this switch then the very last instance of this switch is used for these.

EXAMPLE

In the following example the command will check/create a file called "OUT\DEPEND\IN.DEP":

    +-[ MAKEIT.CMD ]------------------------------------------------+
    | @echo off                                                     |
    | ppwizard IN.IT /Output:OUT\*.html /DependsOn:OUT\DEPEND\*.DEP |
    | if errorlevel 1 echo ERROR: Command failed!                   |
    +---------------------------------------------------------------+
    


[Top][Contents][Search][Prev]: /DeletePrev[Next]: /DependsOnComplete

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm