Runs the lexer and preprocessor on the source files
-lexonly[+|-]
+ | - | Specifying +, or just -lexonly, tells the compiler to only lex the source code and not to parse, bind and generate an output file. When combined with The -ppo option then there will be .ppo files written. |
This command line option allows you to check the code without generating a binary.
1.Open the project's Properties page.
2.Click the Build property page.
3.Add the option in the "Extra Command Line options" property