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

@@ -177,6 +177,11 @@
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(TreatWarningsAsError)'!=''">
<ClCompile>
<TreatWarningAsError>$(TreatWarningsAsError)</TreatWarningAsError>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ProjectReference Include="..\..\SDL_test\SDL_test.vcxproj">
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project>