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>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33 <ConfigurationType>DynamicLibrary</ConfigurationType>
34 <CharacterSet>Unicode</CharacterSet>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
37 <ConfigurationType>DynamicLibrary</ConfigurationType>
38 <CharacterSet>Unicode</CharacterSet>
39 <WholeProgramOptimization>true</WholeProgramOptimization>
41 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42 <ConfigurationType>DynamicLibrary</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)\dll\</OutDir>
64 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\libusb-1.0\</IntDir>
65 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\</OutDir>
66 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\libusb-1.0\</IntDir>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\libusb-1.0\</IntDir>
69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\</OutDir>
70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\dll\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>MultiThreadedDebugDLL</RuntimeLibrary>
82 <WarningLevel>Level4</WarningLevel>
83 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
86 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
87 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
88 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
89 <GenerateDebugInformation>true</GenerateDebugInformation>
91 </ItemDefinitionGroup>
92 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
94 <TargetEnvironment>X64</TargetEnvironment>
97 <Optimization>Disabled</Optimization>
98 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
99 <PreprocessorDefinitions>_WIN32;_WIN64;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
101 <WarningLevel>Level4</WarningLevel>
102 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
105 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
106 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
107 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
108 <GenerateDebugInformation>true</GenerateDebugInformation>
110 </ItemDefinitionGroup>
111 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
113 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
114 <PreprocessorDefinitions>_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
116 <WarningLevel>Level4</WarningLevel>
119 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
120 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
121 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
123 </ItemDefinitionGroup>
124 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
126 <TargetEnvironment>X64</TargetEnvironment>
129 <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
130 <PreprocessorDefinitions>_WIN32;_WIN64;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
132 <WarningLevel>Level4</WarningLevel>
135 <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
136 <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
137 <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
139 </ItemDefinitionGroup>
141 <ClCompile Include="..\libusb\core.c" />
142 <ClCompile Include="..\libusb\descriptor.c" />
143 <ClCompile Include="..\libusb\io.c" />
144 <ClCompile Include="..\libusb\os\poll_windows.c" />
145 <ClCompile Include="..\libusb\sync.c" />
146 <ClCompile Include="..\libusb\os\threads_windows.c" />
147 <ClCompile Include="..\libusb\os\windows_usb.c" />
150 <ClInclude Include=".\config.h" />
151 <ClInclude Include="..\libusb\libusb.h" />
152 <ClInclude Include="..\libusb\libusbi.h" />
153 <ClInclude Include="..\libusb\os\poll_windows.h" />
154 <ClInclude Include="..\libusb\os\threads_windows.h" />
155 <ClInclude Include="..\libusb\os\windows_usb.h" />
158 <None Include="..\libusb\libusb-1.0.def" />
161 <ResourceCompile Include="..\libusb\libusb-1.0.rc" />
163 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
164 <ImportGroup Label="ExtensionTargets">