mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Detect Windows Kernel-Mode Driver include directories and library search paths from the WDK command-line environment. Require toolchain files to specify the KMDF target version via a new variable. Since this changes the behavior of the WindowsKernelModeDriver experimental feature, update its UUID.
12 lines
330 B
CMake
12 lines
330 B
CMake
set(CMAKE_EXPERIMENTAL_WINDOWS_KERNEL_MODE_DRIVER
|
|
"7f524e81-99c7-48f3-a35d-278bae54282c")
|
|
|
|
cmake_language(GET_EXPERIMENTAL_FEATURE_ENABLED
|
|
"WindowsKernelModeDriver"
|
|
feature_present)
|
|
|
|
if (NOT feature_present STREQUAL "TRUE")
|
|
message(FATAL_ERROR
|
|
"Expected the `WindowsKernelModeDriver` feature to be enabled.")
|
|
endif ()
|