1
0
mirror of https://github.com/nefarius/WDF-Utils.git synced 2024-09-16 17:39:32 +02:00
WDF-Utils/DMF
2022-02-10 12:30:20 +01:00
..
DMF.props Added environment variable to DMF 2022-02-10 12:21:39 +01:00
README.md Added build hint 2022-02-10 12:30:20 +01:00

Driver Module Framework (DMF)

Usage

To include and link against 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:

  <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!

Drop the provided DMF.props into the project directory and all include and linker settings will be available. Works for both KMDF and UMDF.

Don't forget to build DMF at least once for all configurations and architectures your driver project uses, otherwise you're missing the required libraries to link against!