1
0
mirror of https://github.com/nefarius/WDF-Utils.git synced 2024-11-09 09:54:54 +01:00
WDF-Utils/DMF/README.md

16 lines
660 B
Markdown
Raw Normal View History

2022-02-06 22:09:23 +01:00
# 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 **or** set the environment variable `DmfRootPath` to the DMF directory. Then add the following snippet to your driver project:
2022-02-06 22:09:23 +01:00
```xml
<ImportGroup Label="PropertySheets">
<Import Project="DMF.props" />
</ImportGroup>
```
**Important:** if a `PropertySheets` group already exists, append the Import-Node(s) to that to avoid linker issues!
2022-02-06 22:09:23 +01:00
Drop the provided `DMF.props` into the project directory and all include and linker settings will be available. Works for both `KMDF` and `UMDF`.