I am attempting to setup SonarQube for my Vxworks C++ environment. Wind River VxWorks provides a custom flavor of GCC to be able to compile VxWorks libraries. Unfortunately, it seems like sonar-scanner or the build-wrapper are unable to pickup the -mrtp flag used to compile VxWorks RTP Applications. The -mrtp flag just tells GCC to compile the project for VxWorks RTP. Has anyone had any luck configuring SonarQube for VxWorks?
I have tried going through building our project with the build-wrapper and the sonar-scanner tool. It executes both successfully but it in SonarQube it reports zero bugs even when I purposefully put bugs in the code. I even tried compiling a simple source file with our Wind River GNU compiler and it works as long as I do not include any VxWorks headers. It seems like either the build-wrapper or sonar-scanner completely ignore the file if it has anything VxWorks related, due to the -mrtp compiler option.