Is it also possible to have multiple command lines using the build-wrapper, as long as you only run the scanner once?
no, you should have one build-wrapper call which eventually call a script with multiple build commands.
Thank you @mpaladin
For our use case most source files would be compiled several times (partially with different compiler flags). Is this use case supported? I could not find anything in the documentation.