diff options
author | Pete Batard <pbatard@gmail.com> | 2010-01-15 20:59:54 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-01-15 20:59:54 +0000 |
commit | 5f46b891de401d58adcc6fb8e9e95499614c93e9 (patch) | |
tree | 29373dd3957585121b55e104f432bd9669d9d848 | |
parent | 82ab1e7dc6229cf3513d64722c9a872325389f91 (diff) | |
download | libusb-5f46b891de401d58adcc6fb8e9e95499614c93e9.tar.gz |
r82: added x64 support for MSVC and finalized directory structure.
Also amended README_MSVC.txt to reflect a better setup for the required DDK directories
-rw-r--r-- | README_MSVC.txt | 22 | ||||
-rw-r--r-- | examples/lsusb.vcproj | 176 | ||||
-rw-r--r-- | examples/xusb.vcproj | 172 | ||||
-rw-r--r-- | libusb-static.vcproj | 148 | ||||
-rw-r--r-- | libusb-winusb-wip.sln | 38 | ||||
-rw-r--r-- | libusb-winusb-wip.vcproj | 204 | ||||
-rw-r--r-- | libusb.sln | 18 |
7 files changed, 505 insertions, 273 deletions
diff --git a/README_MSVC.txt b/README_MSVC.txt index 700469f..c3ae293 100644 --- a/README_MSVC.txt +++ b/README_MSVC.txt @@ -1,15 +1,21 @@ -To compile libusb 1.0 using MSVC 8 or later: +To compile libusb 1.0 using MSVC 9: - download the pthread.h and sched.h headers from ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/include/ into the msvc directory -- download pthreadVC2.lib from: +- (Win32) download pthreadVC2.lib from: ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/lib/ into the msvc directory -- download pthreadVC2.dll from the same link into your executable destination +- (Win32) download pthreadVC2.dll from the same link either into your executable + destination or copy it into C:\Window\System32 or C:\Window\SysWOW64 +- (x64) follow the "Direct access to the CVS code repository" details on + http://sourceware.org/pthreads-win32/ and create both a pthreadVC2_x64.lib + and pthreadVC2_x64.dll from the latest pthread-win32 source. Then copy + pthreadVC2_x64.lib into the msvc directory and the DLL where relevant. - edit config_msvc.h according to your needs (you might want to comment out - ENABLE_DEBUG_LOGGING) -- edit the Linker's "Additional Library Directory" properties to point to your - Windows DDK (you must have the Windows DDK installed). For instance, to build - against the Windows 7 x86 libraries, you could use: - E:\WinDDK\7600.16385.0\lib\win7\i386 + ENABLE_DEBUG_LOGGING) +- If you don't have it already, download and install the latest Windows DDK + (http://www.microsoft.com/downloads/details.aspx?FamilyID=2105564e-1a9a-4bf4-8d74-ec5b52da3d00) +- In Visual Studio, go to Tools -> Options -> Projects and Solutions -> + VC++ directories and change the "Include files" and "Library files" + references to point to the correct DDK paths. diff --git a/examples/lsusb.vcproj b/examples/lsusb.vcproj index ebbf898..cd22e40 100644 --- a/examples/lsusb.vcproj +++ b/examples/lsusb.vcproj @@ -12,14 +12,17 @@ <Platform Name="Win32" /> + <Platform + Name="x64" + /> </Platforms> <ToolFiles> </ToolFiles> <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory="$(SolutionDir)\examples" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" ConfigurationType="1" CharacterSet="1" BuildLogFile="$(IntDir)\$(ProjectName).htm" @@ -42,7 +45,7 @@ <Tool Name="VCCLCompilerTool" Optimization="0" - AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;..\msvc;..\" + AdditionalIncludeDirectories="..\msvc;..\" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" MinimalRebuild="true" BasicRuntimeChecks="3" @@ -64,7 +67,7 @@ Name="VCLinkerTool" AdditionalDependencies="setupapi.lib pthreadVC2.lib" LinkIncremental="2" - AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc" + AdditionalLibraryDirectories="..\msvc" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" SubSystem="1" @@ -93,9 +96,86 @@ /> </Configuration> <Configuration + Name="Debug|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" + ConfigurationType="1" + CharacterSet="1" + BuildLogFile="$(IntDir)\$(ProjectName).htm" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="..\msvc;..\" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="setupapi.lib pthreadVC2_x64.lib" + LinkIncremental="2" + AdditionalLibraryDirectories="..\msvc" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" + SubSystem="1" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration Name="Release|Win32" - OutputDirectory="$(SolutionDir)\examples" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" ConfigurationType="1" CharacterSet="1" WholeProgramOptimization="1" @@ -120,7 +200,7 @@ Name="VCCLCompilerTool" Optimization="2" EnableIntrinsicFunctions="true" - AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;..\msvc;..\" + AdditionalIncludeDirectories="..\msvc;..\" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" RuntimeLibrary="2" EnableFunctionLevelLinking="true" @@ -141,7 +221,7 @@ Name="VCLinkerTool" AdditionalDependencies="setupapi.lib pthreadVC2.lib" LinkIncremental="1" - AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc" + AdditionalLibraryDirectories="..\msvc" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" SubSystem="1" @@ -171,6 +251,86 @@ Name="VCPostBuildEventTool" /> </Configuration> + <Configuration + Name="Release|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" + ConfigurationType="1" + CharacterSet="1" + WholeProgramOptimization="1" + BuildLogFile="$(IntDir)\$(ProjectName).htm" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="2" + EnableIntrinsicFunctions="true" + AdditionalIncludeDirectories="..\msvc;..\" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + EnableFunctionLevelLinking="true" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="setupapi.lib pthreadVC2_x64.lib" + LinkIncremental="1" + AdditionalLibraryDirectories="..\msvc" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> </Configurations> <References> </References> diff --git a/examples/xusb.vcproj b/examples/xusb.vcproj index 09f5e2a..2964dda 100644 --- a/examples/xusb.vcproj +++ b/examples/xusb.vcproj @@ -12,14 +12,17 @@ <Platform Name="Win32" /> + <Platform + Name="x64" + /> </Platforms> <ToolFiles> </ToolFiles> <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory="$(SolutionDir)\examples" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" ConfigurationType="1" CharacterSet="1" BuildLogFile="$(IntDir)\$(ProjectName).htm" @@ -64,7 +67,7 @@ Name="VCLinkerTool" AdditionalDependencies="setupapi.lib pthreadVC2.lib" LinkIncremental="2" - AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc" + AdditionalLibraryDirectories="..\msvc" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" SubSystem="1" @@ -93,9 +96,86 @@ /> </Configuration> <Configuration + Name="Debug|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" + ConfigurationType="1" + CharacterSet="1" + BuildLogFile="$(IntDir)\$(ProjectName).htm" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;..\msvc;..\" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="setupapi.lib pthreadVC2_x64.lib" + LinkIncremental="2" + AdditionalLibraryDirectories="..\msvc" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" + SubSystem="1" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration Name="Release|Win32" - OutputDirectory="$(SolutionDir)\examples" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" ConfigurationType="1" CharacterSet="1" WholeProgramOptimization="1" @@ -141,7 +221,7 @@ Name="VCLinkerTool" AdditionalDependencies="setupapi.lib pthreadVC2.lib" LinkIncremental="1" - AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc" + AdditionalLibraryDirectories="..\msvc" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" SubSystem="1" @@ -171,6 +251,86 @@ Name="VCPostBuildEventTool" /> </Configuration> + <Configuration + Name="Release|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)" + ConfigurationType="1" + CharacterSet="1" + WholeProgramOptimization="1" + BuildLogFile="$(IntDir)\$(ProjectName).htm" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="2" + EnableIntrinsicFunctions="true" + AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;..\msvc;..\" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + EnableFunctionLevelLinking="true" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="setupapi.lib pthreadVC2_x64.lib" + LinkIncremental="1" + AdditionalLibraryDirectories="..\msvc" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> </Configurations> <References> </References> diff --git a/libusb-static.vcproj b/libusb-static.vcproj index f8bb905..d94eabd 100644 --- a/libusb-static.vcproj +++ b/libusb-static.vcproj @@ -2,23 +2,26 @@ <VisualStudioProject ProjectType="Visual C++" Version="9.00" - Name="libusb-1.0" + Name="libusb-1.0 (static)" ProjectGUID="{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" - RootNamespace="libusbwinusbwip" + RootNamespace="libusb" TargetFrameworkVersion="196613" > <Platforms> <Platform Name="Win32" /> + <Platform + Name="x64" + /> </Platforms> <ToolFiles> </ToolFiles> <Configurations> <Configuration Name="Debug|Win32" - OutputDirectory="$(SolutionDir)\libusb" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" ConfigurationType="4" CharacterSet="2" > @@ -40,7 +43,7 @@ <Tool Name="VCCLCompilerTool" Optimization="0" - AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;.\msvc;.\libusb;.\" + AdditionalIncludeDirectories=".\msvc;.\libusb;.\" PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" MinimalRebuild="true" BasicRuntimeChecks="3" @@ -59,6 +62,70 @@ /> <Tool Name="VCLibrarianTool" + OutputFile="$(OutDir)\libusb-1.0.lib" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Debug|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" + ConfigurationType="4" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=".\msvc;.\libusb;.\" + PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)\libusb-1.0.lib" /> <Tool Name="VCALinkTool" @@ -78,8 +145,71 @@ </Configuration> <Configuration Name="Release|Win32" - OutputDirectory="$(SolutionDir)\libusb" - IntermediateDirectory="$(ConfigurationName)" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" + ConfigurationType="4" + CharacterSet="2" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="2" + EnableIntrinsicFunctions="true" + AdditionalIncludeDirectories=".\msvc;.\libusb;.\" + PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" + RuntimeLibrary="2" + EnableFunctionLevelLinking="true" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)\libusb-1.0.lib" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib" + IntermediateDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)\lib\libusb-1.0" ConfigurationType="4" CharacterSet="2" WholeProgramOptimization="1" @@ -98,12 +228,13 @@ /> <Tool Name="VCMIDLTool" + TargetEnvironment="3" /> <Tool Name="VCCLCompilerTool" Optimization="2" EnableIntrinsicFunctions="true" - AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;.\msvc;.\libusb;.\" + AdditionalIncludeDirectories=".\msvc;.\libusb;.\" PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" RuntimeLibrary="2" EnableFunctionLevelLinking="true" @@ -121,6 +252,7 @@ /> <Tool Name="VCLibrarianTool" + OutputFile="$(OutDir)\libusb-1.0.lib" /> <Tool Name="VCALinkTool" diff --git a/libusb-winusb-wip.sln b/libusb-winusb-wip.sln deleted file mode 100644 index fb79ae1..0000000 --- a/libusb-winusb-wip.sln +++ /dev/null @@ -1,38 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0", "libusb-winusb-wip.vcproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xusb", "examples\xusb.vcproj", "{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}" - ProjectSection(ProjectDependencies) = postProject - {349EE8F9-7D25-4909-AAF5-FF3FADE72187} = {349EE8F9-7D25-4909-AAF5-FF3FADE72187} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lsusb", "examples\lsusb.vcproj", "{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}" - ProjectSection(ProjectDependencies) = postProject - {349EE8F9-7D25-4909-AAF5-FF3FADE72187} = {349EE8F9-7D25-4909-AAF5-FF3FADE72187} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32 - {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.Build.0 = Debug|Win32 - {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32 - {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.Build.0 = Release|Win32 - {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.ActiveCfg = Debug|Win32 - {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.Build.0 = Debug|Win32 - {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.ActiveCfg = Release|Win32 - {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.Build.0 = Release|Win32 - {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.ActiveCfg = Debug|Win32 - {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.Build.0 = Debug|Win32 - {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.ActiveCfg = Release|Win32 - {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/libusb-winusb-wip.vcproj b/libusb-winusb-wip.vcproj deleted file mode 100644 index f8bb905..0000000 --- a/libusb-winusb-wip.vcproj +++ /dev/null @@ -1,204 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="libusb-1.0" - ProjectGUID="{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" - RootNamespace="libusbwinusbwip" - TargetFrameworkVersion="196613" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)\libusb" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="4" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;.\msvc;.\libusb;.\" - PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="3" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)\libusb" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="4" - CharacterSet="2" - WholeProgramOptimization="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="2" - EnableIntrinsicFunctions="true" - AdditionalIncludeDirectories="E:\WinDDK\7600.16385.0\inc;.\msvc;.\libusb;.\" - PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" - RuntimeLibrary="2" - EnableFunctionLevelLinking="true" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath=".\libusb\core.c" - > - </File> - <File - RelativePath=".\libusb\descriptor.c" - > - </File> - <File - RelativePath=".\libusb\io.c" - > - </File> - <File - RelativePath=".\libusb\sync.c" - > - </File> - <File - RelativePath=".\libusb\os\windows_compat.c" - > - </File> - <File - RelativePath=".\libusb\os\windows_usb.c" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - <File - RelativePath=".\config_msvc.h" - > - </File> - <File - RelativePath=".\libusb\libusb.h" - > - </File> - <File - RelativePath=".\libusb\libusbi.h" - > - </File> - <File - RelativePath=".\libusb\os\windows_compat.h" - > - </File> - <File - RelativePath=".\libusb\os\windows_usb.h" - > - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> @@ -1,7 +1,9 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0", "libusb-winusb-wip.vcproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0", "libusb-static.vcproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (dll)", "libusb-dll.vcproj", "{349EE8FA-7D25-4909-AAF5-FF3FADE72187}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xusb", "examples\xusb.vcproj", "{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}" ProjectSection(ProjectDependencies) = postProject @@ -16,21 +18,35 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 Release|Win32 = Release|Win32 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32 {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.Build.0 = Debug|Win32 + {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64 + {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.Build.0 = Debug|x64 {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32 {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.Build.0 = Release|Win32 + {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64 + {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.Build.0 = Release|x64 {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.ActiveCfg = Debug|Win32 {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|Win32.Build.0 = Debug|Win32 + {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|x64.ActiveCfg = Debug|x64 + {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Debug|x64.Build.0 = Debug|x64 {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.ActiveCfg = Release|Win32 {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|Win32.Build.0 = Release|Win32 + {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|x64.ActiveCfg = Release|x64 + {3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}.Release|x64.Build.0 = Release|x64 {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.ActiveCfg = Debug|Win32 {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|Win32.Build.0 = Debug|Win32 + {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|x64.ActiveCfg = Debug|x64 + {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Debug|x64.Build.0 = Debug|x64 {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.ActiveCfg = Release|Win32 {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|Win32.Build.0 = Release|Win32 + {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|x64.ActiveCfg = Release|x64 + {F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE |