diff options
author | Michael Lutz <michi@icosahedron.de> | 2017-12-30 14:11:24 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2018-04-10 21:07:27 +0200 |
commit | afa3e15afed641e986eded7b26862f610188caf1 (patch) | |
tree | 91dc91b4e2a3540a1eb17db850d358c0eff38c35 /projects | |
parent | 97c0594cedcad866bbdea8a0f86406b5c38694a3 (diff) | |
download | openttd-afa3e15afed641e986eded7b26862f610188caf1.tar.xz |
Change: [Win32] Declare in the app manifest that all current Windows versions are natively supported.
The main effect of this is currently a proper OS version in the crashlog.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/openttd_vs100.vcxproj | 8 | ||||
-rw-r--r-- | projects/openttd_vs100.vcxproj.in | 8 | ||||
-rw-r--r-- | projects/openttd_vs140.vcxproj | 4 | ||||
-rw-r--r-- | projects/openttd_vs140.vcxproj.in | 4 | ||||
-rw-r--r-- | projects/openttd_vs141.vcxproj | 4 | ||||
-rw-r--r-- | projects/openttd_vs141.vcxproj.in | 4 | ||||
-rw-r--r-- | projects/os_versions.manifest | 17 |
7 files changed, 41 insertions, 8 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj index 9c3b10786..d9a3ecf80 100644 --- a/projects/openttd_vs100.vcxproj +++ b/projects/openttd_vs100.vcxproj @@ -146,7 +146,7 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> @@ -192,7 +192,7 @@ <TargetMachine>MachineX86</TargetMachine> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -251,7 +251,7 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -299,7 +299,7 @@ <TargetMachine>MachineX64</TargetMachine> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemGroup> diff --git a/projects/openttd_vs100.vcxproj.in b/projects/openttd_vs100.vcxproj.in index c8e71c423..1993aace7 100644 --- a/projects/openttd_vs100.vcxproj.in +++ b/projects/openttd_vs100.vcxproj.in @@ -146,7 +146,7 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> @@ -192,7 +192,7 @@ <TargetMachine>MachineX86</TargetMachine> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -251,7 +251,7 @@ <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -299,7 +299,7 @@ <TargetMachine>MachineX64</TargetMachine> </Link> <Manifest> - <AdditionalManifestFiles>dpi_aware.manifest</AdditionalManifestFiles> + <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles> </Manifest> </ItemDefinitionGroup> <ItemGroup> diff --git a/projects/openttd_vs140.vcxproj b/projects/openttd_vs140.vcxproj index 2aefabddd..95fd9ba1f 100644 --- a/projects/openttd_vs140.vcxproj +++ b/projects/openttd_vs140.vcxproj @@ -152,6 +152,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -202,6 +203,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -264,6 +266,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -316,6 +319,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> diff --git a/projects/openttd_vs140.vcxproj.in b/projects/openttd_vs140.vcxproj.in index 98b6481dc..eb5bdb8ec 100644 --- a/projects/openttd_vs140.vcxproj.in +++ b/projects/openttd_vs140.vcxproj.in @@ -152,6 +152,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -202,6 +203,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -264,6 +266,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -316,6 +319,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj index c735569b3..d06d0e8dd 100644 --- a/projects/openttd_vs141.vcxproj +++ b/projects/openttd_vs141.vcxproj @@ -152,6 +152,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -202,6 +203,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -264,6 +266,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -316,6 +319,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> diff --git a/projects/openttd_vs141.vcxproj.in b/projects/openttd_vs141.vcxproj.in index 9afda46b7..4070aec09 100644 --- a/projects/openttd_vs141.vcxproj.in +++ b/projects/openttd_vs141.vcxproj.in @@ -152,6 +152,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -202,6 +203,7 @@ <MinimumRequiredVersion>5.01</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -264,6 +266,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> @@ -316,6 +319,7 @@ <MinimumRequiredVersion>5.02</MinimumRequiredVersion> </Link> <Manifest> + <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles> <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> </Manifest> </ItemDefinitionGroup> diff --git a/projects/os_versions.manifest b/projects/os_versions.manifest new file mode 100644 index 000000000..52ed17bcb --- /dev/null +++ b/projects/os_versions.manifest @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" > + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!--This Id value indicates the application supports Windows Vista functionality --> + <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> + <!--This Id value indicates the application supports Windows 7 functionality--> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> + <!--This Id value indicates the application supports Windows 8 functionality--> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> + <!--This Id value indicates the application supports Windows 8.1 functionality--> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> + <!--This Id value indicates the application supports Windows 10 functionality--> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> + </application> + </compatibility> +</assembly> |