props: inverse SDVHacks logic

SDV is allergic to code analysis. So, when we're doing SDV (SDVHacks is
"true"), we need to turn the code analysis off.

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2021-08-25 12:02:01 +02:00
parent 4527f40474
commit 3e685569a1

View File

@ -96,8 +96,8 @@
<OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir> <OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir>
<PackageDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)\</PackageDir> <PackageDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)\</PackageDir>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(SDVHacks)'!='true'"> <PropertyGroup Condition="'$(SDVHacks)'=='true'">
<RunCodeAnalysis>true</RunCodeAnalysis> <RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'"> <PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'">
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>