/
githubmirror
/
libusb
Обзор
Документация
Войти
/
githubmirror
/
libusb
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
msvc/Configuration.Base.props
44 строки
2 KB
Sylvain Fasel
windows: Remove VS2013 and VS2015 support
13 июл 2026, 12:36
13 июл 2026, 12:36
b25a514
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Label="Configuration"> <!--Will be overridden by value from command line, if provided--> <PlatformToolset Condition="$(VisualStudioVersion)=='15.0'">v141</PlatformToolset> <PlatformToolset Condition="$(VisualStudioVersion)=='16.0'">v142</PlatformToolset> <PlatformToolset Condition="$(VisualStudioVersion)=='17.0'">v143</PlatformToolset> <PlatformToolset Condition="$(VisualStudioVersion)=='18.0'">v145</PlatformToolset> <!--We may need the equivalent of PlatformToolsetVersion before it's ready, so create it ourself--> <LibusbPlatformToolsetVersion>$(PlatformToolset.Substring(1))</LibusbPlatformToolsetVersion> <CharacterSet>Unicode</CharacterSet> <PreferredToolArchitecture>x64</PreferredToolArchitecture> <!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc (including the built executables themselves) after using vcvarsall or similar to setup environment, as ASAN needs access to libs and executables in the toolchain paths. --> <!--<EnableASAN>true</EnableASAN>--> </PropertyGroup> <ItemDefinitionGroup> <ClCompile Condition="$(Configuration.StartsWith('Debug'))"> <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> </ClCompile> <ClCompile Condition="$(Configuration.StartsWith('Release'))"> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> </ClCompile> </ItemDefinitionGroup> <PropertyGroup Label="Globals" Condition="'$(LibusbPlatformToolsetVersion)'=='141'"> <!-- WindowsSDKDesktopARM64Support is required to enable downlevel Windows SDKs to build "desktop" arm64 binaries. --> <WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support> <!-- WindowsTargetPlatformVersion must be set to explicit value for older PlatformToolsets. Fetch it from environment variable. vs2017/arm64 needs to be special cased to select 10.x SDK instead of 8.x --> <WindowsTargetPlatformVersion Condition="$(Platform)=='ARM64'">10.0.19041.0</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion Condition="$(Platform)!='ARM64'">$(WindowsSDKVersion)</WindowsTargetPlatformVersion> </PropertyGroup> <PropertyGroup Label="Globals" Condition="'$(LibusbPlatformToolsetVersion)'>='142'"> <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> </Project>