VS: Add minimal support for Windows Kernel Mode Drivers

Extend the experimental support for `WindowsKernelModeDriver` to the
Visual Studio generators.  Hard-code some settings for now.
This commit is contained in:
Joseph Snyder
2024-11-26 08:27:35 -05:00
parent fec276e632
commit 2709f07b4d
7 changed files with 57 additions and 7 deletions

View File

@@ -4,8 +4,4 @@ if(NOT _cmake_windows_kernel_mode_driver_enabled)
message(FATAL_ERROR "Windows kernel-mode driver experimental support is not enabled.")
endif()
if(CMAKE_GENERATOR MATCHES "Visual Studio")
message(FATAL_ERROR "Visual Studio generators do not yet support CMAKE_SYSTEM_NAME=WindowsKernelModeDriver.")
endif()
set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)