Capture build process warnings from command tools to a plain text log file.
This plugin captures warning messages output by command line tools throughout a build. At the end of a build, any collected warning messages are written to one or more plain text log files.
Warning messages are collected for all compilation-related builds and
differentiated by build context — test
, release
, or plugin-modified build
(e.g. gcov
).
Ceedling warning messages or warning messages from code generation will not appear in log files; warnings are only collected from build step command line tools for the predefined build steps of preprocessing, compilation, and linking.
Log files are written to <build root>/artifacts/<context>/
.
Enable the plugin in your Ceedling project file:
:plugins:
:enabled:
- report_build_warnings_log
To change the default filename of warning.log
, add your desired filename to
your configuration file using :report_build_warnings_log:
↳ :filename
.
:report_build_warnings_log:
:filename: more_better_filename.ext