diff options
| author | ruki <[email protected]> | 2018-05-06 22:15:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-06 22:15:31 +0800 |
| commit | 19897786b3cfef22fe20275af7e72ae6826a75f5 (patch) | |
| tree | 549a2f1641a8c7f98fc90239a933652961001ba1 /tests/projects | |
| parent | 3567313cb859aa88e71ef9aa84e484f09fbccce8 (diff) | |
compile kmdf driver and binary
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/wdk/kmdf/ioctl/public.h (renamed from tests/projects/wdk/kmdf/ioctl/driver/public.h) | 0 | ||||
| -rw-r--r-- | tests/projects/wdk/kmdf/ioctl/xmake.lua | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/wdk/kmdf/ioctl/driver/public.h b/tests/projects/wdk/kmdf/ioctl/public.h index 02e24be2e..02e24be2e 100644 --- a/tests/projects/wdk/kmdf/ioctl/driver/public.h +++ b/tests/projects/wdk/kmdf/ioctl/public.h diff --git a/tests/projects/wdk/kmdf/ioctl/xmake.lua b/tests/projects/wdk/kmdf/ioctl/xmake.lua index 6fbca5543..0c85a258c 100644 --- a/tests/projects/wdk/kmdf/ioctl/xmake.lua +++ b/tests/projects/wdk/kmdf/ioctl/xmake.lua @@ -2,6 +2,9 @@ -- add modes: debug and release add_rules("mode.debug", "mode.release") +-- add include directories +add_includedirs(".") + -- add target target("nonpnp") @@ -14,6 +17,9 @@ target("nonpnp") -- add files add_files("driver/*.c", {rule = "wdk.tracewpp"}) + add_links("BufferOverflowFastFailK", "ntoskrnl", "hal", "wmilib", "WdfLdr", "WdfDriverEntry", "ntstrsafe", "wdmsec") + add_ldflags("-ENTRY:FxDriverEntry", "-SUBSYSTEM:NATIVE,10.00", "-Driver", "-kernel", {force = true}) + -- add target target("app") |
