linux_usbfs: Gracefully handle buggy devices with a configuration 0
[platform/upstream/libusb.git] / msvc / libusb_dll_2019.vcxproj
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 (dll)</ProjectName>
39     <ProjectGuid>{349EE8FA-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
40     <RootNamespace>libusbdll</RootNamespace>
41     <WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
42     <WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
43     <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
44   </PropertyGroup>
45   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
46   <PropertyGroup Label="Configuration">
47     <ConfigurationType>DynamicLibrary</ConfigurationType>
48     <CharacterSet>Unicode</CharacterSet>
49     <PlatformToolset>v142</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)\dll\$(TargetName)\</IntDir>
62     <OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\dll\</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       <WarningLevel>Level4</WarningLevel>
71     </ClCompile>
72     <ClCompile Condition="'$(Configuration)'=='Debug'">
73       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
74       <Optimization>Disabled</Optimization>
75       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
76     </ClCompile>
77     <ClCompile Condition="'$(Configuration)'=='Release'">
78       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
80     </ClCompile>
81     <Link>
82       <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
83       <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
84       <AdditionalDependencies>kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
85     </Link>
86     <Link Condition="'$(Configuration)'=='Debug'">
87       <GenerateDebugInformation>true</GenerateDebugInformation>
88     </Link>
89   </ItemDefinitionGroup>
90   <ItemGroup>
91     <ClCompile Include="..\libusb\core.c" />
92     <ClCompile Include="..\libusb\descriptor.c" />
93     <ClCompile Include="..\libusb\os\events_windows.c" />
94     <ClCompile Include="..\libusb\hotplug.c" />
95     <ClCompile Include="..\libusb\io.c" />
96     <ClCompile Include="..\libusb\strerror.c" />
97     <ClCompile Include="..\libusb\sync.c" />
98     <ClCompile Include="..\libusb\os\threads_windows.c" />
99     <ClCompile Include="..\libusb\os\windows_common.c" />
100     <ClCompile Include="..\libusb\os\windows_usbdk.c" />
101     <ClCompile Include="..\libusb\os\windows_winusb.c" />
102   </ItemGroup>
103   <ItemGroup>
104     <ClInclude Include=".\config.h" />
105     <ClInclude Include="..\libusb\os\events_windows.h" />
106     <ClInclude Include="..\libusb\hotplug.h" />
107     <ClInclude Include="..\libusb\libusb.h" />
108     <ClInclude Include="..\libusb\libusbi.h" />
109     <ClInclude Include="..\libusb\os\threads_windows.h" />
110     <ClInclude Include="..\libusb\version.h" />
111     <ClInclude Include="..\libusb\version_nano.h" />
112     <ClInclude Include="..\libusb\os\windows_common.h" />
113     <ClInclude Include="..\libusb\os\windows_usbdk.h" />
114     <ClInclude Include="..\libusb\os\windows_winusb.h" />
115   </ItemGroup>
116   <ItemGroup>
117     <None Include="..\libusb\libusb-1.0.def" />
118   </ItemGroup>
119   <ItemGroup>
120     <ResourceCompile Include="..\libusb\libusb-1.0.rc" />
121   </ItemGroup>
122   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
123   <ImportGroup Label="ExtensionTargets">
124   </ImportGroup>
125 </Project>