This example demonstrates how to use the BuildWrapper to analyze a C++ project with the SonarQube Scanner on Linux
- G++ compiler to compile the project sample
- SonarQube 7.9+
- SonarQube Scanner 4.5+
- SonarCFamily for C/C++
- SonarSource Build Wrapper
- Run the build wrapper:
build-wrapper --out-dir bw-outputs ./build.sh
- Analyze the project with SonarQube using the SonarQube Scanner:
sonar-scanner