mirror of
https://github.com/nefarius/WDF-Utils.git
synced 2024-12-22 12:29:26 +01:00
Added DMF files
This commit is contained in:
parent
6717b8e8ec
commit
276afc9a9c
18
DMF/DMF.props
Normal file
18
DMF/DMF.props
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_PropertySheetDisplayName>Driver Module Framework</_PropertySheetDisplayName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..\..\DMF\DMF\Modules.Library;..\..\DMF\DMF\Framework;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies Condition="'$(DriverType)'=='KMDF'">..\..\DMF\$(Configuration)\$(PlatformName)\lib\DmfK\DmfK.lib;%(AdditionalDependencies);</AdditionalDependencies>
|
||||
<AdditionalDependencies Condition="'$(DriverType)'!='KMDF'">..\..\DMF\$(Configuration)\$(PlatformName)\lib\DmfU\DmfU.lib;%(AdditionalDependencies);</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
13
DMF/README.md
Normal file
13
DMF/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Driver Module Framework (DMF)
|
||||
|
||||
## Usage
|
||||
|
||||
To include and link against [DMF](https://github.com/microsoft/DMF) simply clone DMF to the same project parent directory and add the following snippet to your driver project file:
|
||||
|
||||
```xml
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="DMF.props" />
|
||||
</ImportGroup>
|
||||
```
|
||||
|
||||
Drop the provided `DMF.props` into the project directory and all include and linker settings will be available. Works for both `KMDF` and `UMDF`.
|
Loading…
Reference in New Issue
Block a user