Disable VS warnings in tests

Disable warnings about conditions being always true, as they come from the
framework.
This commit is contained in:
Ari Koivula 2015-11-13 22:49:23 +02:00
parent 93637f4683
commit 3c0d72a549

View file

@ -60,6 +60,9 @@
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PostBuildEvent /> <PostBuildEvent />
<ClCompile>
<DisableSpecificWarnings>4127;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PostBuildEvent> <PostBuildEvent>
@ -79,6 +82,9 @@
<PostBuildEvent> <PostBuildEvent>
<Command>$(TargetPath)</Command> <Command>$(TargetPath)</Command>
</PostBuildEvent> </PostBuildEvent>
<ClCompile>
<DisableSpecificWarnings>4127;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\kvazaar_lib\kvazaar_lib.vcxproj"> <ProjectReference Include="..\kvazaar_lib\kvazaar_lib.vcxproj">