1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Debug|x64">
9 <Configuration>Debug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
21 <PropertyGroup Label="Globals">
22 <ProjectName>libusb-1.0 (static)</ProjectName>
23 <ProjectGuid>{349EE8F9-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
24 <RootNamespace>libusb</RootNamespace>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28 <ConfigurationType>StaticLibrary</ConfigurationType>
29 <CharacterSet>Unicode</CharacterSet>
30 <WholeProgramOptimization>true</WholeProgramOptimization>
31 <PlatformToolset>v110</PlatformToolset>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34 <ConfigurationType>StaticLibrary</ConfigurationType>
35 <CharacterSet>Unicode</CharacterSet>
36 <PlatformToolset>v110</PlatformToolset>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39 <ConfigurationType>StaticLibrary</ConfigurationType>
40 <CharacterSet>Unicode</CharacterSet>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
42 <PlatformToolset>v110</PlatformToolset>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45 <ConfigurationType>StaticLibrary</ConfigurationType>
46 <CharacterSet>Unicode</CharacterSet>
47 <PlatformToolset>v110</PlatformToolset>
49 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50 <ImportGroup Label="ExtensionSettings">
52 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 <PropertyGroup Label="UserMacros" />
66 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
73 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
74 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
75 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">libusb-1.0</TargetName>
76 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">libusb-1.0</TargetName>
77 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">libusb-1.0</TargetName>
78 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">libusb-1.0</TargetName>
80 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
82 <Optimization>Disabled</Optimization>
83 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
84 <PreprocessorDefinitions>_WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
85 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
86 <WarningLevel>Level4</WarningLevel>
87 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
90 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
92 </ItemDefinitionGroup>
93 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
95 <TargetEnvironment>X64</TargetEnvironment>
98 <Optimization>Disabled</Optimization>
99 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
100 <PreprocessorDefinitions>_WIN32;_WIN64;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
102 <WarningLevel>Level4</WarningLevel>
103 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
106 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
108 </ItemDefinitionGroup>
109 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
111 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
112 <PreprocessorDefinitions>_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
113 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
114 <WarningLevel>Level4</WarningLevel>
117 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
119 </ItemDefinitionGroup>
120 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
122 <TargetEnvironment>X64</TargetEnvironment>
125 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126 <PreprocessorDefinitions>_WIN32;_WIN64;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
128 <WarningLevel>Level4</WarningLevel>
131 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
133 </ItemDefinitionGroup>
135 <ClCompile Include="..\libusb\core.c" />
136 <ClCompile Include="..\libusb\descriptor.c" />
137 <ClCompile Include="..\libusb\hotplug.c" />
138 <ClCompile Include="..\libusb\io.c" />
139 <ClCompile Include="..\libusb\os\poll_windows.c" />
140 <ClCompile Include="..\libusb\sync.c" />
141 <ClCompile Include="..\libusb\os\threads_windows.c" />
142 <ClCompile Include="..\libusb\os\windows_usb.c" />
145 <ClInclude Include="..\libusb\hotplug.h" />
146 <ClInclude Include="..\libusb\version.h" />
147 <ClInclude Include="..\libusb\version_nano.h" />
148 <ClInclude Include=".\config.h" />
149 <ClInclude Include="..\libusb\libusb.h" />
150 <ClInclude Include="..\libusb\libusbi.h" />
151 <ClInclude Include="..\libusb\os\poll_windows.h" />
152 <ClInclude Include="..\libusb\os\threads_windows.h" />
153 <ClInclude Include="..\libusb\os\windows_usb.h" />
154 <ClInclude Include="..\libusb\os\windows_common.h" />
156 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
157 <ImportGroup Label="ExtensionTargets">