Developer Guide and Reference

Contents

D

Defines a
macro name
that can be associated with an optional value.

Syntax

Linux:
-D
name
[
=
value
]
macOS:
-D
name
[
=
value
]
Windows:
/D
name
[
=
value
]
Arguments
name
Is the name of the
macro
.
value
Is an optional integer or an optional character string delimited by double quotes; for example,
D
name=string
.
Default
OFF
Only default symbols or macros are defined.
Description
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".