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>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33 <ConfigurationType>StaticLibrary</ConfigurationType>
34 <CharacterSet>Unicode</CharacterSet>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
37 <ConfigurationType>StaticLibrary</ConfigurationType>
38 <CharacterSet>Unicode</CharacterSet>
39 <WholeProgramOptimization>true</WholeProgramOptimization>
41 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42 <ConfigurationType>StaticLibrary</ConfigurationType>
43 <CharacterSet>Unicode</CharacterSet>
45 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
46 <ImportGroup Label="ExtensionSettings">
48 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
49 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
55 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
58 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 <PropertyGroup Label="UserMacros" />
62 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
63 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
64 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
65 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
66 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\lib\libusb-1.0\</IntDir>
71 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">libusb-1.0</TargetName>
72 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">libusb-1.0</TargetName>
73 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">libusb-1.0</TargetName>
74 <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">libusb-1.0</TargetName>
76 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
78 <Optimization>Disabled</Optimization>
79 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
80 <PreprocessorDefinitions>_WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
81 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
82 <WarningLevel>Level4</WarningLevel>
83 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
86 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
88 </ItemDefinitionGroup>
89 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
91 <TargetEnvironment>X64</TargetEnvironment>
94 <Optimization>Disabled</Optimization>
95 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
96 <PreprocessorDefinitions>_WIN32;_WIN64;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
98 <WarningLevel>Level4</WarningLevel>
99 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
102 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
104 </ItemDefinitionGroup>
105 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
107 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
108 <PreprocessorDefinitions>_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
110 <WarningLevel>Level4</WarningLevel>
113 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
115 </ItemDefinitionGroup>
116 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
118 <TargetEnvironment>X64</TargetEnvironment>
121 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
122 <PreprocessorDefinitions>_WIN32;_WIN64;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
123 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
124 <WarningLevel>Level4</WarningLevel>
127 <OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
129 </ItemDefinitionGroup>
131 <ClCompile Include="..\libusb\core.c" />
132 <ClCompile Include="..\libusb\descriptor.c" />
133 <ClCompile Include="..\libusb\io.c" />
134 <ClCompile Include="..\libusb\os\poll_windows.c" />
135 <ClCompile Include="..\libusb\sync.c" />
136 <ClCompile Include="..\libusb\os\threads_windows.c" />
137 <ClCompile Include="..\libusb\os\windows_usb.c" />
140 <ClInclude Include=".\config.h" />
141 <ClInclude Include="..\libusb\libusb.h" />
142 <ClInclude Include="..\libusb\libusbi.h" />
143 <ClInclude Include="..\libusb\os\poll_windows.h" />
144 <ClInclude Include="..\libusb\os\threads_windows.h" />
145 <ClInclude Include="..\libusb\os\windows_usb.h" />
146 <ClInclude Include="..\libusb\os\windows_common.h" />
148 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
149 <ImportGroup Label="ExtensionTargets">