mirror of
https://github.com/microsoft/WSL.git
synced 2026-06-01 01:49:36 -05:00
13 lines
560 B
CMake
13 lines
560 B
CMake
function(configure_csharp_target TARGET)
|
|
set(TARGET_PLATFORM_MIN_VERSION "10.0.19041.0")
|
|
|
|
set_target_properties(
|
|
${TARGET} PROPERTIES
|
|
VS_GLOBAL_TargetPlatformVersion "${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}"
|
|
VS_GLOBAL_TargetPlatformMinVersion "${TARGET_PLATFORM_MIN_VERSION}"
|
|
VS_GLOBAL_WindowsSdkPackageVersion "${WINDOWS_SDK_DOTNET_VERSION}"
|
|
VS_GLOBAL_AppendRuntimeIdentifierToOutputPath false
|
|
VS_GLOBAL_GenerateAssemblyInfo false
|
|
VS_GLOBAL_TargetLatestRuntimePatch false
|
|
)
|
|
endfunction() |