Amomum
Amomum

Reputation: 6503

PVS-Studio creates temporary files in the project folder

After each run, PVS-Studio creates a .cpp.PVS-Studio.cfg-file for each checked cpp file right in the project folder.

And it doesn't delete them after check is done. It's kinda annoying to delete them by hand or by git checkout. Can PVS-Studio be configured to create these files in some other place?

Upvotes: 2

Views: 118

Answers (1)

Sergey Vasiliev
Sergey Vasiliev

Reputation: 823

The analyzer creates temporary command files for its operation to launch the analysis unit itself, to perform preprocessing and to manage the whole process of analysis. Such files are created for each project file being analyzed. You can indicate to the analyzer remove them.

PVS-Studio -> Options... -> Common Analyzer Settings -> RemoveIntermediateFiles.

Documentation: Settings: Common Analyzer Settings

Upvotes: 2

Related Questions