How to scan a C/C++ project compiled with Android.mk using SonarQube?

How to scan a C/C++ project compiled with Android.mk using SonarQube?
Is there a detailed guidance document available?

Hey there.

As requested in the template post, what version of SonarQube are you using?

Hi Colin!
It is 10.1 Edition.
I tried it this morning and needed to download the NDK compilation project, generate the compile_commands.json file, and scan C/C++ projects via the compilation database. I wonder if this method is sonar recommended.

Did it work?

Analyzing via compilation database is supported, just as much as using the build-wrapper (I have not tested the build wrapper with Android.mk)

Yes, it works.I can see it on sonar’s page, I looked up a lot of material, there is no documentation and community about Android.mk sonar.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.