xmake
xmake copied to clipboard
WDM driver builds should include 'shared' WDK header directory
https://github.com/xmake-io/xmake/blob/6046c050650e63b430777dda1c6ce497ac43917e/xmake/rules/wdk/env/load.lua#L112
Some headers under km/ depend on those in shared/ as well from the WDK, so the shared/ include path must also be included in system path. I believe this should work:
target:add("sysincludedirs", path.join(wdk.includedir, wdk.sdkver, "shared"))
I don't have a WDK environment. You can submit a PR directly.