For Enterprise EditionVersion 10.2.1,C++ projects can be scanned without compilation

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube:Enterprise Edition-Version 10.2.1 (build 78527)
  • how is SonarQube deployed: zip, Docker, Helm
    deployed: zip
  • what are you trying to achieve
    C++ projects can be scanned without compilation
  • what have you tried so far to achieve this
    After checking the documentation, the C++ scanning mode of version 10.1 and version 10.2 is the same. Is there any other guidance document that supports scanning C++ projects without compilation?
    Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


While we’ve introduced automatic analysis (i.e. analysis without compilation) for C and C++ in SonarCloud recently, we won’t start incorporating this into SonarQube before early next year (no promises on the timeline!).

So for now, you’ll need to compile.


Thank you for your reply.

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