LANGUAGE
Compilation Unit
-D<identifier>[=<value>]
<identifier>: identifier to be defined
<value>: value for <identifier>, anything except "-" and blank
None
None
None
The Compiler allows the definition of a macro on the command line. The effect is the same as having a # define directive at the very beginning of the source file.
-DDEBUG=0 This is the same as writing: #define DEBUG 0 in the source file.
To include strings with blanks in your macro definition, either use an escape sequence or use double quotes.
-dPath="Path\40with\40spaces"
-d"Path=""Path with spaces"""