-
Notifications
You must be signed in to change notification settings - Fork 364
sonar.cxx.jsonCompilationDatabase.analyzeOnlyContainedFiles
guwirth edited this page Jan 23, 2023
·
4 revisions
Defines the mode for sonar.cxx.jsonCompilationDatabase. If 'sonar.cxx.jsonCompilationDatabase.analyzeOnlyContainedFiles=True' is used, the analyzed files will be limited to the files contained in the 'JSON Compilation Database' file - the intersection of the files configured via 'sonar.projectBaseDir' and the files contained in the 'JSON Compilation Database' file (default is False).
- Hint: In case you are using header files to include .CPP files you have to use 'analyzeOnlyContainedFiles=False' to get a complete result.