props: tie code analysis to sdv hacks rather than debug builds
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
73a4cffee0
commit
82a6130341
@ -58,10 +58,10 @@
|
|||||||
Static Driver Verifier
|
Static Driver Verifier
|
||||||
-->
|
-->
|
||||||
<Target Name="SDV" Outputs="driver\sdv\SDV.DVL.xml">
|
<Target Name="SDV" Outputs="driver\sdv\SDV.DVL.xml">
|
||||||
<Exec WorkingDirectory="driver" Command="msbuild.exe driver.vcxproj /t:sdv /p:Inputs=/check:*;Configuration=$(Configuration);Platform=x64 /nologo" />
|
<Exec WorkingDirectory="driver" Command="msbuild.exe driver.vcxproj /t:sdv /p:Inputs=/check:*;Configuration=$(Configuration);Platform=x64;SDVHacks=true /nologo" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="SDVView">
|
<Target Name="SDVView">
|
||||||
<Exec WorkingDirectory="driver" Command="msbuild.exe driver.vcxproj /t:sdv /p:Inputs=/view;Configuration=$(Configuration);Platform=x64 /nologo" />
|
<Exec WorkingDirectory="driver" Command="msbuild.exe driver.vcxproj /t:sdv /p:Inputs=/view;Configuration=$(Configuration);Platform=x64;SDVHacks=true /nologo" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
<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="'$(Configuration)'=='Debug'">
|
<PropertyGroup Condition="'$(SDVHacks)'!='true'">
|
||||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'">
|
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'">
|
||||||
|
Loading…
Reference in New Issue
Block a user