diff options
author | Simon Rozman <simon@rozman.si> | 2021-08-25 12:02:01 +0200 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2021-08-25 12:02:01 +0200 |
commit | 3e685569a18b35e9a6a0b8a415eb7840664b49b6 (patch) | |
tree | 21bd4aa7bd463ddf5c0e505c331988f1f85d7996 /wintun.props | |
parent | .gitignore: ignore CodeQL output (diff) | |
download | wintun-3e685569a18b35e9a6a0b8a415eb7840664b49b6.tar.xz wintun-3e685569a18b35e9a6a0b8a415eb7840664b49b6.zip |
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>
Diffstat (limited to 'wintun.props')
-rw-r--r-- | wintun.props | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wintun.props b/wintun.props index d0fcfd6..6d010fe 100644 --- a/wintun.props +++ b/wintun.props @@ -96,8 +96,8 @@ <OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir> <PackageDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)\</PackageDir> </PropertyGroup> - <PropertyGroup Condition="'$(SDVHacks)'!='true'"> - <RunCodeAnalysis>true</RunCodeAnalysis> + <PropertyGroup Condition="'$(SDVHacks)'=='true'"> + <RunCodeAnalysis>false</RunCodeAnalysis> </PropertyGroup> <PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'"> <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |