Examples of Windows kernel drivers built using Meson #11291
Unanswered
amcnulty-fermat
asked this question in
Q&A
Replies: 2 comments 6 replies
-
I never built a Windows driver, but any chance this could work?
https://learn.microsoft.com/en-us/cpp/build/reference/driver-windows-nt-kernel-mode-driver |
Beta Was this translation helpful? Give feedback.
6 replies
-
Here is a better-than-nothing example that builds a kernel driver.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Meson community,
I was wondering if anyone knows of a Windows kernel driver that is built with Meson?
For context, I am trying to migrate an old build system (which is a mix of make, cmake, shellscripts on Linux, and Powershell on Windows) to a new build system, one in which everything is built via Meson. The project contains a Windows kernel driver that is currently built via
msbuild
and a Visual Studio solution file. The old system simply invokesmsbuild
and lets msbuild conduct the build tasks according to the Visual Studio solution file.My current approach is to use
custom_target
to invokemsbuild
with the Visual Studio solution file which then handles all the details of the kernel driver build. Ideally I would like to be able to write Meson build definitions to replace the Visual Studio solution file entirely. Does anybody have experience doing something like this, and if so, do they have any advice?I have toyed with the idea of implementing a function in Meson's Windows module to help generate all the necessary build steps but I figured I would ask the community for advice first. If such a function were to exist, would others find it useful?
Finally, I would like to thank you all for your work on Meson as it has been a very pleasant and conscientious partner in this undertaking.
Beta Was this translation helpful? Give feedback.
All reactions