Skip to content

antoine-vigneau-sonarsource/minimal-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This project includes the minimal thing in order to perform a C analysis using SonarQube.

Prerequesities

It can be run as is on Linux and MacOS. It needs:

  • gcc on Linux/MacOS env. cl on Windows (MSBuild compiler)
  • SonarQube Scanner
  • build-wrapper, downloaded from your SonarQube instance:
    • Linux: SONARQUBE_URL/static/cpp/build-wrapper-linux-x86.zip
    • MacOS: SONARQUBE_URL/static/cpp/build-wrapper-macosx-x86.zip
    • Windows: SONARQUBE_URL/static/cpp/build-wrapper-win-x86.zip

Execution

Linux/MacOS

build-wrapper --out-dir bw-output ./build.sh
sonar-scanner -X

Windows

build-wrapper-win-x86-64.exe --out-dir bw-output build.bat
sonar-scanner.bat -X

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published