Compiler Option: -d
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=CompilerOptd
- Last revised: 2021-10-12
Add a preprocessor definition
Syntax
-d < name=value >
-d `< name >`Parameters
name
Name of the preprocessor macro to define. No parameters are allowed.
value
Value to give to the macro. If omitted, it will be defined as 1
Description
The -d compiler option adds a preprocessor macro to all source files. The same as using the preprocessor directive #define or #macro.
See also
Back to DocToc