I’m evaluating Sonarqube and have setup the Sonarqube server version 184.108.40.206681.
I have the analysis working for:
- Visual Studio 2019 C++ projects
- Sourcery CodeBench version 2017.02-58 C++ projects using the Sourcery CodeBench Toolchain for Power EABI version 2016.11.52 compiler.
I’m now trying to get the analysis working for C projects that uses the Code Composer Studio version 2.21.00. This IDE is using the Texas Instrument TMS470 compiler. I’m able to build these projects from the command line and have wrapper that build procedure with the build-wrapper-win-x86-64.exe as I did with the other projects above and the build does complete without any issue but I do notice that the content of the build-wrapper-dump.json file is “empty” (see below):
© SonarSource SA, 2014-2020, firstname.lastname@example.org
All SONARSOURCE programs and content are copyright protected.
SONARSOURCE and SONARQUBE are trademarks of SonarSource SA. All rights are expressly reserved.
This file is designed exclusively for use with the SONARSOURCE C / C++ / Objective-C Plugin.
It may not be used in connection with any other software.
Any other use is prohibited by law and may be grounds for immediate termination of your License.
This causes my sonar-scanner.bat command line to throw an exception with the message "The “build-wrapper-dump.json” file was found empty. Looking at this page https://docs.sonarqube.org/latest/analysis/languages/cfamily/ , I think that the reason why the build-wrapper-dump.json file is empty is because the compiler is not supported but I wanted to confirm if this is the case or if I’m missing something.