summaryrefslogtreecommitdiff
path: root/tests/projects/windows/driver/wdm/msdsm/xmake.lua
blob: 51fa66b0545e20e2a0503e412eaf37cf7fb7fd64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_rules("mode.debug", "mode.release")

target("sampledsm")
    add_rules("wdk.env.wdm", "wdk.driver")
    add_values("wdk.tracewpp.flags", "-func:TracePrint((LEVEL,FLAGS,MSG,...))")
    add_files("*.c", {rules = "wdk.tracewpp"})
    add_files("*.rc", "*.inf")
    add_files("*.mof|msdsm.mof")

    -- add file msdsm.mof and modify default wdk.mof.header for this file
    add_files("msdsm.mof", {values = {wdk_mof_header = "msdsmwmi.h"}})

    set_pcheader("precomp.h")
    add_links("mpio")