FindWDK
FindWDK copied to clipboard
CMake module for building drivers with Windows Development Kit (WDK)
**All versions are the same for both host and target** Windows version: Windows 10 home 21H2 19044.1826 WDK version: 10.0.22621.0 I try to run on host: ``` sc.exe create driver_name...
Suggestion: Addition of INTEGRITYCHECK linker flag in add driver function.
Simplified example: top-level `CMakeLists.txt`: ```cmake cmake_minimum_required(VERSION 3.10) project(FindWDK_IssueTest) add_compile_options("/MP") add_subdirectory(Exe) add_subdirectory(Sys) ``` Exe `CMakeLists.txt`: ```cmake cmake_minimum_required(VERSION 3.10) project(FindWDK_IssueTest_Exe) add_executable(FindWDK_IssueTest_Exe Main.cpp) ``` Sys `CMakeLists.txt`: ```cmake cmake_minimum_required(VERSION 3.10) project(FindWDK_IssueTest_Sys) find_package(WDK REQUIRED) wdk_add_driver(FindWDK_IssueTest_Sys...
Develop
Flexible configuration of the driver entry point, protect against multiple WDK inclusion, optional post-build creation of certificates and signing drivers
wdk_add_driver and wdk_add_driver add the compilation switch /GR-, which conflicts with /GR normally added by CMake (found with CMake 3.18 with Ninja and MSVC 16.8 preview, x64). Q: Would there...
also fixes #8
I'm using VS2019 and WDK 10, WindowsSdkDir is automatically set while WDKContentRoot not. Could we add some kine of fallback to WindowsSdkDir?
 Why is there no wpp option? ---------------------------------------------------- **In general, kmdf has a wpp option, for example:** 