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 5.6+
- SonarQube Scanner 2.8+
- 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