Skip to content

Commit

Permalink
Update buildsystem/ci
Browse files Browse the repository at this point in the history
Update for Visual Studio Community 2017 15.5.0.
In all Visual Studio project files:
- C++ version is C++ 17
- Enforce type conversion rules is enabled
- Runtime type support is enabled
- OpenMP support is disabled
- Remove references to non-existing projects
  • Loading branch information
michaelheilmann committed Dec 7, 2017
1 parent 894285c commit 66fe884
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 42 deletions.
10 changes: 5 additions & 5 deletions cartman/cartman.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ProjectGuid>{87DFC5F5-A78E-4BE2-AEB7-AFB8DA3DBD63}</ProjectGuid>
<RootNamespace>cartman</RootNamespace>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Expand Down Expand Up @@ -136,7 +136,7 @@
<ControlFlowGuard>false</ControlFlowGuard>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<FloatingPointModel>Fast</FloatingPointModel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;SHFolder.lib;Shell32.lib;ws2_32.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
Expand Down Expand Up @@ -204,7 +204,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<FloatingPointModel>Fast</FloatingPointModel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down Expand Up @@ -268,7 +268,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<FloatingPointModel>Fast</FloatingPointModel>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;SHFolder.lib;Shell32.lib;ws2_32.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
Expand Down Expand Up @@ -326,7 +326,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<WarningLevel>Level4</WarningLevel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down
2 changes: 1 addition & 1 deletion egoboo.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2005
VisualStudioVersion = 15.0.27004.2009
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "game", "game\game.vcxproj", "{E9988340-E474-4C0A-8496-EFF3296DE056}"
ProjectSection(ProjectDependencies) = postProject
Expand Down
10 changes: 5 additions & 5 deletions egolib/egolib-tests.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<ProjectGuid>{72193166-DDB9-4393-8413-59E8D843DD9D}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>egolibtests</RootNamespace>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Expand Down Expand Up @@ -175,7 +175,7 @@
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down Expand Up @@ -216,7 +216,7 @@
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down Expand Up @@ -255,7 +255,7 @@
<FloatingPointModel>Fast</FloatingPointModel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down Expand Up @@ -297,7 +297,7 @@
<FloatingPointModel>Fast</FloatingPointModel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down
16 changes: 5 additions & 11 deletions egolib/egolib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<ProjectName>egolib</ProjectName>
<ProjectGuid>{0F32DD35-A264-4906-8FC9-2D0FE0613230}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Expand Down Expand Up @@ -139,7 +139,7 @@
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<FloatingPointModel>Fast</FloatingPointModel>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)$(TargetFileName)</OutputFile>
Expand Down Expand Up @@ -186,7 +186,7 @@
<WarningLevel>Level4</WarningLevel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Lib>
Expand Down Expand Up @@ -254,7 +254,7 @@
<WarningLevel>Level4</WarningLevel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Lib />
Expand Down Expand Up @@ -300,7 +300,7 @@
<WarningLevel>Level4</WarningLevel>
<FloatingPointModel>Fast</FloatingPointModel>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Lib>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
Expand Down Expand Up @@ -894,12 +894,6 @@
<ProjectReference Include="..\external\SDL2_ttf-2.0.12\VisualC\SDL_ttf.vcxproj">
<Project>{d114a863-1bdc-4979-a61e-cb6b7ca5f1bb}</Project>
</ProjectReference>
<ProjectReference Include="..\idlib\idlib.vcxproj">
<Project>{f59e5a93-844c-4c7f-bffa-c0e59785b9a2}</Project>
</ProjectReference>
<ProjectReference Include="..\idlib\legacy\idlib.vcxproj">
<Project>{1af1ead3-b754-426e-96df-6c9075782b5e}</Project>
</ProjectReference>
<ProjectReference Include="..\legacy\idlib.vcxproj">
<Project>{1af1ead3-b754-426e-96df-6c9075782b5e}</Project>
</ProjectReference>
Expand Down
10 changes: 5 additions & 5 deletions game/game.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ProjectGuid>{E9988340-E474-4C0A-8496-EFF3296DE056}</ProjectGuid>
<RootNamespace>game</RootNamespace>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Expand Down Expand Up @@ -161,7 +161,7 @@
<ControlFlowGuard>false</ControlFlowGuard>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<FloatingPointModel>Fast</FloatingPointModel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;SHFolder.lib;Shell32.lib;ws2_32.lib;Advapi32.lib;User32.lib;%(AdditionalDependencies)</AdditionalDependencies>
Expand Down Expand Up @@ -236,7 +236,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<ControlFlowGuard>false</ControlFlowGuard>
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
<FloatingPointModel>Fast</FloatingPointModel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;SHFolder.lib;Shell32.lib;ws2_32.lib;Advapi32.lib;User32.lib;%(AdditionalDependencies)</AdditionalDependencies>
Expand Down Expand Up @@ -310,7 +310,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<WarningLevel>Level4</WarningLevel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down Expand Up @@ -383,7 +383,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<WarningLevel>Level4</WarningLevel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down
4 changes: 4 additions & 0 deletions legacy/idlib-game-engine.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http:https://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>
12 changes: 12 additions & 0 deletions legacy/idlib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@
<AdditionalIncludeDirectories>$(ProjectDir)..\idlib\library\src</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand All @@ -149,6 +152,9 @@
<AdditionalIncludeDirectories>$(ProjectDir)..\idlib\library\src</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -161,6 +167,9 @@
<AdditionalIncludeDirectories>$(ProjectDir)..\idlib\library\src</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand All @@ -177,6 +186,9 @@
<AdditionalIncludeDirectories>$(ProjectDir)..\idlib\library\src</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand Down
19 changes: 5 additions & 14 deletions utilities/migrator/migrator.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<Keyword>Win32Proj</Keyword>
<RootNamespace>ConvertPaletted</RootNamespace>
<ProjectName>migrator</ProjectName>
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Expand Down Expand Up @@ -132,7 +132,7 @@
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down Expand Up @@ -190,7 +190,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<BufferSecurityCheck>false</BufferSecurityCheck>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down Expand Up @@ -247,7 +247,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<FloatingPointExceptions>false</FloatingPointExceptions>
<AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)/utilities/migrator/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down Expand Up @@ -305,7 +305,7 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<FloatingPointExceptions>false</FloatingPointExceptions>
<AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)/utilities/migrator/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<ControlFlowGuard>false</ControlFlowGuard>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
</ClCompile>
<Link>
Expand Down Expand Up @@ -363,15 +363,6 @@ xcopy /y "$(SolutionDir)external\SDL2_ttf-2.0.12\VisualC\external\lib\$(Platform
<ProjectReference Include="..\..\external\SDL2_ttf-2.0.12\VisualC\SDL_ttf.vcxproj">
<Project>{d114a863-1bdc-4979-a61e-cb6b7ca5f1bb}</Project>
</ProjectReference>
<ProjectReference Include="..\..\idlib\idlib-tests.vcxproj">
<Project>{53aa7468-e768-4cc9-a5ed-21a70c5fc36c}</Project>
</ProjectReference>
<ProjectReference Include="..\..\idlib\idlib.vcxproj">
<Project>{f59e5a93-844c-4c7f-bffa-c0e59785b9a2}</Project>
</ProjectReference>
<ProjectReference Include="..\..\idlib\legacy\idlib.vcxproj">
<Project>{1af1ead3-b754-426e-96df-6c9075782b5e}</Project>
</ProjectReference>
<ProjectReference Include="..\..\legacy\idlib.vcxproj">
<Project>{1af1ead3-b754-426e-96df-6c9075782b5e}</Project>
</ProjectReference>
Expand Down

0 comments on commit 66fe884

Please sign in to comment.