Defines a macro name that can be associated with an optional value.
Windows: None
Linux: Preprocessor > Preprocessor Definitions
Mac OS: Preprocessor > Preprocessor Definitions
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | -Dname[=value] |
Windows: | /Dname[=value] |
name | Is the name of the macro. |
value | Is an optional integer or an optional character string delimited by double quotes; for example, Dname="string". |
OFF | Only default symbols or macros are defined. |
Defines a macro name that can be associated
with an optional value.
This option is equivalent to a #define preprocessor directive.
If a value is not specified, name is defined as "1".
Caution
On Linux and Mac OS systems, if you are not specifying a value, do not use D for name, because it will conflict with the -DD option.
None