1<?xml version="1.0" encoding="utf-8"?> 2<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <ItemGroup Label="ProjectConfigurations"> 4 <ProjectConfiguration Include="Debug|ARM"> 5 <Configuration>Debug</Configuration> 6 <Platform>ARM</Platform> 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|ARM64"> 9 <Configuration>Debug</Configuration> 10 <Platform>ARM64</Platform> 11 </ProjectConfiguration> 12 <ProjectConfiguration Include="Debug|Win32"> 13 <Configuration>Debug</Configuration> 14 <Platform>Win32</Platform> 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="Debug|x64"> 17 <Configuration>Debug</Configuration> 18 <Platform>x64</Platform> 19 </ProjectConfiguration> 20 <ProjectConfiguration Include="Release|ARM"> 21 <Configuration>Release</Configuration> 22 <Platform>ARM</Platform> 23 </ProjectConfiguration> 24 <ProjectConfiguration Include="Release|ARM64"> 25 <Configuration>Release</Configuration> 26 <Platform>ARM64</Platform> 27 </ProjectConfiguration> 28 <ProjectConfiguration Include="Release|Win32"> 29 <Configuration>Release</Configuration> 30 <Platform>Win32</Platform> 31 </ProjectConfiguration> 32 <ProjectConfiguration Include="Release|x64"> 33 <Configuration>Release</Configuration> 34 <Platform>x64</Platform> 35 </ProjectConfiguration> 36 </ItemGroup> 37 <PropertyGroup Label="Globals"> 38 <ProjectName>libusb-1.0 (static)</ProjectName> 39 <ProjectGuid>{349EE8F9-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid> 40 <RootNamespace>libusb</RootNamespace> 41 <WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport> 42 <WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support> 43 <WindowsTargetPlatformVersion Condition="'$(Platform)'=='ARM' Or '$(Platform)'=='ARM64'">10.0.17763.0</WindowsTargetPlatformVersion> 44 </PropertyGroup> 45 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 46 <PropertyGroup Label="Configuration"> 47 <ConfigurationType>StaticLibrary</ConfigurationType> 48 <CharacterSet>Unicode</CharacterSet> 49 <PlatformToolset>v141</PlatformToolset> 50 <WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization> 51 </PropertyGroup> 52 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 53 <ImportGroup Label="ExtensionSettings"> 54 </ImportGroup> 55 <ImportGroup Label="PropertySheets"> 56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 57 </ImportGroup> 58 <PropertyGroup Label="UserMacros" /> 59 <PropertyGroup> 60 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 61 <IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\lib\$(TargetName)\</IntDir> 62 <OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\lib\</OutDir> 63 <TargetName>libusb-1.0</TargetName> 64 </PropertyGroup> 65 <ItemDefinitionGroup> 66 <ClCompile> 67 <AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions> 68 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 69 <PreprocessorDefinitions>_WIN32_WINNT=_WIN32_WINNT_VISTA;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 70 <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> 71 <WarningLevel>Level4</WarningLevel> 72 </ClCompile> 73 <ClCompile Condition="'$(Configuration)'=='Debug'"> 74 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 75 <Optimization>Disabled</Optimization> 76 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 77 </ClCompile> 78 <ClCompile Condition="'$(Configuration)'=='Release'"> 79 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 80 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 81 </ClCompile> 82 <Lib> 83 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile> 84 </Lib> 85 </ItemDefinitionGroup> 86 <ItemGroup> 87 <ClCompile Include="..\libusb\core.c" /> 88 <ClCompile Include="..\libusb\descriptor.c" /> 89 <ClCompile Include="..\libusb\os\events_windows.c" /> 90 <ClCompile Include="..\libusb\hotplug.c" /> 91 <ClCompile Include="..\libusb\io.c" /> 92 <ClCompile Include="..\libusb\strerror.c" /> 93 <ClCompile Include="..\libusb\sync.c" /> 94 <ClCompile Include="..\libusb\os\threads_windows.c" /> 95 <ClCompile Include="..\libusb\os\windows_common.c" /> 96 <ClCompile Include="..\libusb\os\windows_usbdk.c" /> 97 <ClCompile Include="..\libusb\os\windows_winusb.c" /> 98 </ItemGroup> 99 <ItemGroup> 100 <ClInclude Include=".\config.h" /> 101 <ClInclude Include="..\libusb\os\events_windows.h" /> 102 <ClInclude Include="..\libusb\hotplug.h" /> 103 <ClInclude Include="..\libusb\libusb.h" /> 104 <ClInclude Include="..\libusb\libusbi.h" /> 105 <ClInclude Include="..\libusb\os\threads_windows.h" /> 106 <ClInclude Include="..\libusb\version.h" /> 107 <ClInclude Include="..\libusb\version_nano.h" /> 108 <ClInclude Include="..\libusb\os\windows_common.h" /> 109 <ClInclude Include="..\libusb\os\windows_usbdk.h" /> 110 <ClInclude Include="..\libusb\os\windows_winusb.h" /> 111 </ItemGroup> 112 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 113 <ImportGroup Label="ExtensionTargets"> 114 </ImportGroup> 115</Project>