Compiler Option: -pp
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=CompilerOptpp
- Last revised: 2021-10-12
Emit the preprocessed input file only, do not compile
Syntax
` -pp
`
Description
The -pp compiler option enables the preprocessor-only mode. The code is parsed & checked as usual, but is not compiled. For every input file
Specifically, preprocessor commands such as conditional compilation (#if, #ifdef, #ifndef, etc.), text replacement (#define, #macro, etc.) and file inclusion (#include) are processed recursively, and the resulting expanded code is written to the pp.bas file.
See also
Back to DocToc