Continuous Inspection

SonarQube C/C++/Objective C 3.12 Released

SonarSource is pleased to announce the release of the C/C++/Objective-C plugin version 3.12.

This new version provides the following 9 new rules:

 

Moreover, any Visual C++ project must now be analyzed with help of the SonarQube Scanner for MSBuild and so with a very minimalistic configuration effort. This should not be more complex than sequentially executing those three command lines :

MSBuild.SonarQube.Runner begin /k:project_key /n:project_name /v:project_version
/d:sonar.cfamily.build-wrapper-output=<output directory>

build-wrapper.exe --out-dir <output directory> msbuild /t:rebuild

MSBuild.SonarQube.Runner end

Please use SonarQube Scanner for MSBuild 2.1+ version to not face the following overhead when compiling your C++ projects: SONARMSBRU-193.

 

The build-wrapper for Linux, OS X and Windows are now embedded into the plugin and so can be directly downloaded from your SonarQube server once the plugin is installed :

  • http://MySonarQubeServer/static/cpp/build-wrapper-win-x86.zip containing directory “build-wrapper-win-x86″ with files build-wrapper-win-x86-32.exe and build-wrapper-win-x86-64.exe
  • http://MySonarQubeServer/static/cpp/build-wrapper-macosx-x86.zip containing directory “build-wrapper-macosx-x86″ with files build-wrapper-macosx-x86
  • http://MySonarQubeServer/static/cpp/build-wrapper-linux-x86.zip containing directory “build-wrapper-linux-x86″ with files build-wrapper-linux-x86-64 and build-wrapper-linux-x86-32

 

Please read the release notes for more information about all the other improvements and bug fixes part of this release. You can install or update it via the Update Center.

Trial version and documentation are available on the C/C++ and Objective-C product pages.