forked from daynix/UsbDk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project files for build with higher WDK installed
When higher WDK than 14393 is installed on the machine, the modified files related to build of drivers and driver-related applications may produce errors on build using VS2015. Fixed project files solve this. Signed-off-by: Yuri Benditovich <[email protected]>
- Loading branch information
1 parent
4d1ecea
commit 4473e41
Showing
6 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters