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">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>WindowsApplicationForDrivers10.0</PlatformToolset>
|
||||
<TargetVersion>Windows10</TargetVersion>
|
||||
<ForcedTargetVersion>Windows10</ForcedTargetVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\wintun.props" />
|
||||
<ItemDefinitionGroup>
|
||||
|
11
wintun.props
11
wintun.props
@ -56,16 +56,19 @@
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
|
||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows7</TargetVersion>
|
||||
<TargetVersion>Windows7</TargetVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration">
|
||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows8</TargetVersion>
|
||||
<TargetVersion>Windows8</TargetVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
|
||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows7</TargetVersion>
|
||||
<TargetVersion>Windows7</TargetVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration">
|
||||
<TargetVersion Condition="'$(TargetVersion)'==''">Windows10</TargetVersion>
|
||||
<TargetVersion>Windows10</TargetVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(ForcedTargetVersion)'!=''">
|
||||
<TargetVersion>$(ForcedTargetVersion)</TargetVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
|
Loading…
Reference in New Issue
Block a user