How to scan _only_ c++ source files?

How do I tell sonar-scanner to consider only C++ source files for static analysis?

Hi @Neil_Roza ,

you can have a look at using sonar.inclusions property, see the documentation page: Narrowing the Focus | SonarQube Docs

As an example: sonar.inclusions=**/*.cc,**/*.cpp,**/*.cxx,**/*.h