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 (dll)</ProjectName>
23 <ProjectGuid>{349EE8FA-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
24 <RootNamespace>libusbdll</RootNamespace>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28 <ConfigurationType>DynamicLibrary</ConfigurationType>
29 <CharacterSet>Unicode</CharacterSet>
30 <WholeProgramOptimization>true</WholeProgramOptimization>
31 <PlatformToolset>v110</PlatformToolset>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34 <ConfigurationType>DynamicLibrary</ConfigurationType>
35 <CharacterSet>Unicode</CharacterSet>
36 <PlatformToolset>v110</PlatformToolset>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39 <ConfigurationType>DynamicLibrary</ConfigurationType>
40 <CharacterSet>Unicode</CharacterSet>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
42 <PlatformToolset>v110</PlatformToolset>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45 <ConfigurationType>DynamicLibrary</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)\dll\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\libusb-1.0\</IntDir>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\libusb-1.0\</IntDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\</OutDir>
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\libusb-1.0\</IntDir>
73 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\</OutDir>
74 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\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>MultiThreadedDebugDLL</RuntimeLibrary>
86 <WarningLevel>Level4</WarningLevel>
87 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
90 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
91 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
92 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
93 <GenerateDebugInformation>true</GenerateDebugInformation>
95 </ItemDefinitionGroup>
96 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
98 <TargetEnvironment>X64</TargetEnvironment>
101 <Optimization>Disabled</Optimization>
102 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
103 <PreprocessorDefinitions>_WIN32;_WIN64;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
105 <WarningLevel>Level4</WarningLevel>
106 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
109 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
110 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
111 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
112 <GenerateDebugInformation>true</GenerateDebugInformation>
114 </ItemDefinitionGroup>
115 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
117 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
118 <PreprocessorDefinitions>_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
119 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
120 <WarningLevel>Level4</WarningLevel>
123 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
124 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
125 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
127 </ItemDefinitionGroup>
128 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
130 <TargetEnvironment>X64</TargetEnvironment>
133 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
134 <PreprocessorDefinitions>_WIN32;_WIN64;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
135 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
136 <WarningLevel>Level4</WarningLevel>
139 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
140 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
141 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
143 </ItemDefinitionGroup>
145 <ClCompile Include="..\libusb\core.c" />
146 <ClCompile Include="..\libusb\descriptor.c" />
147 <ClCompile Include="..\libusb\io.c" />
148 <ClCompile Include="..\libusb\os\poll_windows.c" />
149 <ClCompile Include="..\libusb\sync.c" />
150 <ClCompile Include="..\libusb\os\threads_windows.c" />
151 <ClCompile Include="..\libusb\os\windows_usb.c" />
154 <ClInclude Include=".\config.h" />
155 <ClInclude Include="..\libusb\libusb.h" />
156 <ClInclude Include="..\libusb\libusbi.h" />
157 <ClInclude Include="..\libusb\os\poll_windows.h" />
158 <ClInclude Include="..\libusb\os\threads_windows.h" />
159 <ClInclude Include="..\libusb\os\windows_usb.h" />
162 <None Include="..\libusb\libusb-1.0.def" />
165 <ResourceCompile Include="..\libusb\libusb-1.0.rc" />
167 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
168 <ImportGroup Label="ExtensionTargets">