Specifies a definition (symbol) to use with conditional compilation.
Windows:
General > Preprocessor Definitions
Preprocessor > Preprocessor Definitions
Linux: None
Mac OS: None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | None |
Windows: | /define:name[=value] |
name | Is the name of the definition (symbol). |
value | Is an optional integer or an optional character string delimited by double quotes; for example, /define:name="string". |
OFF | No additional symbols are defined. |
This option specifies a definition (symbol) to use with conditional compilation directives or the Fortran preprocessor (fpp). You can assign an optional value to the definition.
If value is not specified, name is defined as "1".
If you want to specify more than one definition, you must use separate /define options.
If you want the symbol values defined to apply only to fpp and not to compiler directives, you must also specify option /noD on the command line.
Linux and Mac OS: -D
Windows: /D
Building Applications: Predefined Preprocessor Symbols