Skip to content

Commit

Permalink
support wdk 10.0.22621.0 on windows
Browse files Browse the repository at this point in the history
example:

xmake f --wdk_winver=win10_ni -v
configure
{
    ccache = true
    wdk_sdkver = 10.0.22621.0
    wdk = C:\Program Files (x86)\Windows Kits\10\
    plat = windows
    vs = 2022
    host = windows
    ndk_stdcxx = true
    mode = debug
    buildir = build
    arch = x64
    kind = static
    wdk_winver = win10_ni
}
  • Loading branch information
xiaobfly committed Feb 4, 2024
1 parent 3736092 commit 7818857
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xmake/modules/os/winver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ function ntddi_version(name)
, rs1 = "0002"
, rs2 = "0003"
, rs3 = "0004"
, rs4 = "0005"
, rs5 = "0006"
, h1 = "0007"
, vb = "0008"
, nm = "0009"
, fe = "000A"
, co = "000B"
, ni = "000C"
}

-- get subvalue
Expand Down

0 comments on commit 7818857

Please sign in to comment.