props: use ForcedTargetVersion for override
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
0a3799cc3a
commit
86521458e3
@ -8,7 +8,7 @@
|
|||||||
<PropertyGroup Label="Configuration">
|
<PropertyGroup Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset>
|
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset>
|
||||||
<TargetVersion>Windows10</TargetVersion>
|
<ForcedTargetVersion>Windows10</ForcedTargetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="..\wintun.props" />
|
<Import Project="..\wintun.props" />
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
|
11
wintun.props
11
wintun.props
@ -56,16 +56,19 @@
|
|||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
|
||||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows7</TargetVersion>
|
<TargetVersion>Windows7</TargetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration">
|
<PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration">
|
||||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows8</TargetVersion>
|
<TargetVersion>Windows8</TargetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
|
||||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows7</TargetVersion>
|
<TargetVersion>Windows7</TargetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration">
|
||||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows10</TargetVersion>
|
<TargetVersion>Windows10</TargetVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(ForcedTargetVersion)'!=''">
|
||||||
|
<TargetVersion>$(ForcedTargetVersion)</TargetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings" />
|
<ImportGroup Label="ExtensionSettings" />
|
||||||
|
Loading…
Reference in New Issue
Block a user