Windows: Fix VS2010 project files
[libusbx.git] / msvc / libusb_dll_2012.vcxproj
blobadcad4ad00cabbc509c18701ae493f79edc9b0ad
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>
20   </ItemGroup>
21   <PropertyGroup Label="Globals">
22     <ProjectName>libusb-1.0 (dll)</ProjectName>
23     <ProjectGuid>{349EE8FA-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
24     <RootNamespace>libusbdll</RootNamespace>
25   </PropertyGroup>
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>
32   </PropertyGroup>
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34     <ConfigurationType>DynamicLibrary</ConfigurationType>
35     <CharacterSet>Unicode</CharacterSet>
36     <PlatformToolset>v110</PlatformToolset>
37   </PropertyGroup>
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>
43   </PropertyGroup>
44   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45     <ConfigurationType>DynamicLibrary</ConfigurationType>
46     <CharacterSet>Unicode</CharacterSet>
47     <PlatformToolset>v110</PlatformToolset>
48   </PropertyGroup>
49   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50   <ImportGroup Label="ExtensionSettings">
51   </ImportGroup>
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" />
54   </ImportGroup>
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" />
57   </ImportGroup>
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" />
60   </ImportGroup>
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" />
63   </ImportGroup>
64   <PropertyGroup Label="UserMacros" />
65   <PropertyGroup>
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>
79   </PropertyGroup>
80   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
81     <ClCompile>
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>
88     </ClCompile>
89     <Link>
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>
94     </Link>
95   </ItemDefinitionGroup>
96   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
97     <Midl>
98       <TargetEnvironment>X64</TargetEnvironment>
99     </Midl>
100     <ClCompile>
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>
107     </ClCompile>
108     <Link>
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>
113     </Link>
114   </ItemDefinitionGroup>
115   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
116     <ClCompile>
117       <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
118       <PreprocessorDefinitions>_WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
119       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
120       <WarningLevel>Level4</WarningLevel>
121     </ClCompile>
122     <Link>
123       <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
124       <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
125       <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
126     </Link>
127   </ItemDefinitionGroup>
128   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
129     <Midl>
130       <TargetEnvironment>X64</TargetEnvironment>
131     </Midl>
132     <ClCompile>
133       <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
134       <PreprocessorDefinitions>_WIN32;_WIN64;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
135       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
136       <WarningLevel>Level4</WarningLevel>
137     </ClCompile>
138     <Link>
139       <OutputFile>$(OutDir)libusb-1.0.dll</OutputFile>
140       <ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
141       <EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
142     </Link>
143   </ItemDefinitionGroup>
144   <ItemGroup>
145     <ClCompile Include="..\libusb\core.c" />
146     <ClCompile Include="..\libusb\descriptor.c" />
147     <ClCompile Include="..\libusb\hotplug.c" />
148     <ClCompile Include="..\libusb\io.c" />
149     <ClCompile Include="..\libusb\os\poll_windows.c" />
150     <ClCompile Include="..\libusb\strerror.c" />
151     <ClCompile Include="..\libusb\sync.c" />
152     <ClCompile Include="..\libusb\os\threads_windows.c" />
153     <ClCompile Include="..\libusb\os\windows_usb.c" />
154   </ItemGroup>
155   <ItemGroup>
156     <ClInclude Include="..\libusb\hotplug.h" />
157     <ClInclude Include="..\libusb\version.h" />
158     <ClInclude Include="..\libusb\version_nano.h" />
159     <ClInclude Include=".\config.h" />
160     <ClInclude Include="..\libusb\libusb.h" />
161     <ClInclude Include="..\libusb\libusbi.h" />
162     <ClInclude Include="..\libusb\os\poll_windows.h" />
163     <ClInclude Include="..\libusb\os\threads_windows.h" />
164     <ClInclude Include="..\libusb\os\windows_usb.h" />
165   </ItemGroup>
166   <ItemGroup>
167     <None Include="..\libusb\libusb-1.0.def" />
168   </ItemGroup>
169   <ItemGroup>
170     <ResourceCompile Include="..\libusb\libusb-1.0.rc" />
171   </ItemGroup>
172   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
173   <ImportGroup Label="ExtensionTargets">
174   </ImportGroup>
175 </Project>