diff options
author | 2021-08-11 14:01:16 +0200 | |
---|---|---|
committer | 2021-08-13 09:49:28 +0200 | |
commit | 668d6fe7d84c70ab505a41077fa115564cdb52d8 (patch) | |
tree | 79d8f84a4fd3943339219ef7a49f6904d1a6ab93 | |
parent | driver: socket: allocate IRPs on stack (diff) | |
download | wireguard-nt-668d6fe7d84c70ab505a41077fa115564cdb52d8.tar.xz wireguard-nt-668d6fe7d84c70ab505a41077fa115564cdb52d8.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>
-rw-r--r-- | wireguard-nt.props | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wireguard-nt.props b/wireguard-nt.props index a891dcb..db0a113 100644 --- a/wireguard-nt.props +++ b/wireguard-nt.props @@ -96,8 +96,8 @@ <OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir> <PackageDir>..\$(Configuration)\$(WireGuardPlatform)\$(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> |