Syntax:
The /fpp option activates the FPP preprocessor and optionally passes options to FPP as is. The FPP preprocessor can process both free- and fixed-form Fortran source files. Alternatively, you can use compiler directives, such as the IF Directive Construct, to detect symbol definitions and perform conditional compilation.
You can run FPP:
.i or .i90) file,
specify the /keep option..i or .i90) file, specify the
/keep option on the command line or (in the visual development
environment, Project Settings dialog box) the Project Options: box..i or .i90) file.
FPP is a modified version of the ANSI C preprocessor and supports a similar set of
directives (including syntax and semantics). It supports the following directives:
#define, #elif, #else, #endif,
#if, #ifdef, #ifndef, #include,
and #undef.
For example, the following DF command invokes FPP, specifies the /noC option to FPP, uses
the /define option to define the symbol testcase, and
preprocesses file cond.for before it is compiled and linked:
DF /fpp:"/noC" /define:testcase=2 cond.for
For a list of predefined preprocessor symbols (such as _X86_), see /define.
For information on FPP options, type FPP /HELP on the command line.