mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-10-31 02:05:04 +00:00
Fixes for https://bugzilla.redhat.com/show_bug.cgi?id=2138115 Signed-off-by: Kostiantyn Kostiuk <[email protected]>
36 lines
1.4 KiB
XML
36 lines
1.4 KiB
XML
<!--
|
|
***********************************************************************************************
|
|
Driver.Platform.props
|
|
Should be imported before Microsoft.Cpp.Default.props and after
|
|
PlatformToolset defined (if needed) for configurations. The very
|
|
beginning of Driver.Common.props is an ideal place.
|
|
Common PlatformTools definitions used by all projects:
|
|
|
|
***********************************************************************************************
|
|
-->
|
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Platform">
|
|
|
|
<!-- Ugly but simple PlatformToolset selector -->
|
|
<PropertyGroup>
|
|
<VisualStudioVersionMajor>$(VisualStudioVersion.Split('.')[0])</VisualStudioVersionMajor>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<VisualStudioToolset>v141</VisualStudioToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(VisualStudioVersionMajor)'>='16'">
|
|
<VisualStudioToolset>v142</VisualStudioToolset>
|
|
<CETCompatSupported>true</CETCompatSupported>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(VisualStudioVersionMajor)'>='17'">
|
|
<VisualStudioToolset>v143</VisualStudioToolset>
|
|
<CETCompatSupported>true</CETCompatSupported>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition= "'$(PlatformToolset)'=='' OR '$(PlatformToolset)'=='AutoVSToolset'">
|
|
<PlatformToolset>$(VisualStudioToolset)</PlatformToolset>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|