SonarQube: Version 9.9
Scanner: build-wrapper, version 6.41 (win-x86-64)
Plugin: CFamily plugin version: 6.41
Hi!
I have two scenarios:
- A repository with C code that builds for different targets.
- A repository with a project divided into folders, where each part should be built separately.
Is there a way to analyze the code in these scenarios using a single project in SonarQube? I don’t want to create a separate project for each target or folder. If there is a build-wrapper configuration that could achieve this, that would be great.
I’ve heard about using portfolios and applications in SonarQube but I’m not sure if they would help. I also saw something about using branches for each condition, but it seems messy.
Can you help?