mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user