Fix PVS-Studio integration

Without this configuration option, PVS-Studio looks for preprocessed
files (*.i), but these do not exists.
This commit is contained in:
Christoph M. Becker 2020-05-28 15:20:06 +02:00
parent 1f521a0b23
commit 744f9016c4

View File

@ -215,6 +215,7 @@ if (PHP_ANALYZER == "vs") {
pvscfg.WriteLine("platform = " + (X64 ? 'x64' : 'Win32'));
pvscfg.WriteLine("preprocessor = visualcpp");
pvscfg.WriteLine("language = C");
pvscfg.WriteLine("skip-cl-exe = no");
}
} else {
PHP_ANALYZER = "no"