Studio:How to generate a preprocessor (.i) file for analysis
Jump to navigation
Jump to search
You can run the preprocessor on one or more header files to generate ".i" files, which can then be used for analysis:
s2scompile --preprocess [options] file
To do this from within STRIDE Studio, select one or more top-level header files, right-click, and choose Preprocess. A ".i" file will be generated in the project directory.
Only the selected file(s) are preprocessed, and ".i" files generated for them. The workspace macro definitions and include search path affect the preprocessing. Existing database files are not affected by the preprocessing.