You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#sets the platform toolset to "WindowsKernelModeDriver10.0" set_property(TARGET ${_target} PROPERTY VS_PLATFORM_TOOLSET WindowsKernelModeDriver10.0)
#sets the configuration type to "Driver" set_property(TARGET ${_target} PROPERTY VS_CONFIGURATION_TYPE "Driver")
set_target_properties(${_target}
PROPERTIES
# Targeting Windows 10
VS_GLOBAL_TargetVersion "Windows10"
# Developing a Windows Driver Model (WDM) driver
VS_GLOBAL_DriverType "WDM"
# Targeting Universal platform
VS_GLOBAL_DriverTargetPlatform "Universal"
# Not using debug libraries
VS_GLOBAL_UseDebugLibraries "false"
# Disabling API validation
VS_GLOBAL_ApiValidator_Enable "false"
# Using local time for INF2CAT timestamping
VS_GLOBAL_Inf2CatUseLocalTime "true"
# Turning off driver signing
VS_GLOBAL_SignMode "Off"
# Targeting .NET Framework version 4.5
VS_GLOBAL_TargetFrameworkVersion "v4.5"
# Minimum required version of Visual Studio is 12.0 (Visual Studio 2013)
VS_GLOBAL_MinimumVisualStudioVersion "12.0"
)
if build error “GetDriverProjectAttributes” and “GetPackageFiles”
#sets the platform toolset to "WindowsKernelModeDriver10.0"
set_property(TARGET ${_target} PROPERTY VS_PLATFORM_TOOLSET WindowsKernelModeDriver10.0)
#sets the configuration type to "Driver"
set_property(TARGET ${_target} PROPERTY VS_CONFIGURATION_TYPE "Driver")
if build error “GetDriverProjectAttributes” and “GetPackageFiles”
Disable the generation of ZERO_CHECK
set(CMAKE_SUPPRESS_REGENERATION true)
https://discourse.cmake.org/t/unable-to-fully-build-windows-umdf-driver-using-cmake/2368/12
https://gitlab.kitware.com/cmake/cmake/-/issues/23643
https://gitlab.kitware.com/cmake/cmake/-/issues/23717
The text was updated successfully, but these errors were encountered: