forked from daynix/UsbDk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Driver.Initial.props
31 lines (26 loc) · 1.38 KB
/
Driver.Initial.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--
***********************************************************************************************
Driver.Initial.props
Should be imported just after Microsoft.Cpp.Default.props
and after target Windows versions defined for configurations
Common property definitions used by all drivers:
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Platform">
<Target Name="IntermediateNotify" BeforeTargets="PrepareForBuild" AfterTargets="DriverBuildNotifications">
<!-- Indicate to users what they are building -->
<Message Importance="high" Text="Driver.Initial.props: TargetVersion=$(TargetVersion) _NT_TARGET_VERSION=$(_NT_TARGET_VERSION) SUBSYSTEM_NATVER=$(SUBSYSTEM_NATVER) mismatch=$(MidlTargetMismatch)" />
</Target>
<PropertyGroup Condition="'$(TargetVersion)'=='Windows10'">
<_NT_TARGET_VERSION>0x0A00</_NT_TARGET_VERSION>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetVersion)'=='WindowsV6.3'">
<_NT_TARGET_VERSION>0x0603</_NT_TARGET_VERSION>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetVersion)'=='Windows8'">
<_NT_TARGET_VERSION>0x0602</_NT_TARGET_VERSION>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetVersion)'=='Windows7'">
<_NT_TARGET_VERSION>0x0601</_NT_TARGET_VERSION>
</PropertyGroup>
</Project>