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
|
||||
-->
|
||||
<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 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>
|
||||
|
||||
<!--
|
||||
|
@ -96,7 +96,7 @@
|
||||
<OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir>
|
||||
<PackageDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)\</PackageDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<PropertyGroup Condition="'$(SDVHacks)'!='true'">
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'">
|
||||
|
Loading…
Reference in New Issue
Block a user