msbuild: add TreatWarningAsError property, and enable it on ci

This commit is contained in:
Anonymous Maarten
2024-08-04 21:23:25 +02:00
parent a699ff2419
commit 4b3a80bb73
33 changed files with 161 additions and 0 deletions

View File

@@ -183,6 +183,11 @@
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(TreatWarningsAsError)'!=''">
<ClCompile>
<TreatWarningAsError>$(TreatWarningsAsError)</TreatWarningAsError>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ProjectReference Include="..\..\SDL\SDL.vcxproj">
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project>