Open kartben opened 1 year ago
For this to work, I think a wrapper command should be made optional in zephyr/scripts/west_commands/zcmake.py
for run_cmake
.
So west build
results in CodeCecker log cmake --build ...
, but I'm not sure how this would work with reports/storing. Some testing would be required.
Hi @tejlmand,
This issue, marked as an Enhancement, was opened a while ago and did not get any traction. It was just assigned to you based on the labels. If you don't consider yourself the right person to address this issue, please re-assing it to the right person.
Please take a moment to review if the issue is still relevant to the project. If it is, please provide feedback and direction on how to move forward. If it is not, has already been addressed, is a duplicate, or is no longer relevant, please close it with a short comment explaining the reason.
@kartben you are also encouraged to help moving this issue forward by providing additional information and confirming this request/issue is still relevant to you.
Thanks!
Is your enhancement proposal related to a problem? Please describe.
As it is using
compile_commands.json
, CodeChecker always runs checks against all files, where it would be better to have it support incremental builds by only looking at files actually compiled for a given run.Describe the solution you'd like
It should be possible to use
CodeChecker log
to capture the list of relevant files and use that instead ofcompile_commands.json
. It might even allow to get rid of the codechecker.ready thingy?Describe alternatives you've considered
N/A
Additional context
N/A
cc @pdgendt