CMake build for Windows Drivers

Hello All,

Can someone point me to any resource which will help me create CMake based build system for our Windows driver project?

Currently I am using Visual Studio 2013 Express Desktop with Windows Kit 8.1 for my driver.

Regards,
Gaurav

> Can someone point me to any resource which will help me create CMake based build system for

our Windows driver project?

Just forget this evil idea, and fire the whole official WDK from CMake.

For older non-VS WDKs, you will need DDKBUILD.BAT for this.

For modern WDKs, you can generate the MSBuild project file for WDK by CMake, using configure_file() from the latter or such, and then run the WDK.

Actually, if you’re not about Linux portability, then MSBuild is better than CMake - much more powerful imperative part, you have full C# and not the pathetic (though working in its mains) imperative language of CMake.

What would be a perfect solution is a Python OO library which implements the CMake’s target object, and calls like “add_custom_target()” and “add_executable()” in Python, so that the build scripts will be CMake by architecture but Python by language.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com