mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-29 03:24:36 +00:00
1e83d2a4e9
May resolve some outstanding issues around libusb/hidapi (i.e. DS4 not being released on rpcs3 shutdown etc..) or may not. Fixes three outstanding compile warnings on non-Windows OS... introduces a few more warnings in WindowsOS (issue raised upstream with libusb around WINAPI_CHECK macro) Re-ordered the 3rd party CMake so libusb is in file order above hidapi (just to have document flow match logical flow) Also took this opportunity to remove the YAML INSTALL action (by setting YAML_CPP_INSTALL to OFF) Provided capability to use system library for libusb by providing USE_SYS_LIBUSB option to CMAKE Tested under: - [X] Windows 10 2004 OS with DS4 controller - [X] Windows 10 2004 OS with GCon3 controller - [X] Linux (Mint 20) with DS4 controller
92 lines
4.3 KiB
XML
92 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectName>libusb-1.0 (static)</ProjectName>
|
|
<ProjectGuid>{349EE8F9-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
|
|
<RootNamespace>libusb</RootNamespace>
|
|
</PropertyGroup>
|
|
<Import Project="..\common_default.props" />
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<Import Project="..\common_default_macros.props" />
|
|
<PropertyGroup Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<PropertyGroup>
|
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
|
</PropertyGroup>
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup>
|
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
<OutDir>$(SolutionDir)lib/</OutDir>
|
|
<IntDir>$(SolutionDir)tmp\$(ProjectName)-$(Configuration)-$(Platform)/</IntDir>
|
|
<TargetName>libusb-1.0</TargetName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
<AdditionalIncludeDirectories>libusb\msvc;libusb\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>WINVER=0x0600;_WIN32_WINNT=0x0600;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
</ClCompile>
|
|
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<Optimization>Disabled</Optimization>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
</ClCompile>
|
|
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
</ClCompile>
|
|
<Lib>
|
|
<OutputFile>$(OutDir)libusb-1.0.lib</OutputFile>
|
|
</Lib>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="libusb\libusb\core.c" />
|
|
<ClCompile Include="libusb\libusb\descriptor.c" />
|
|
<ClCompile Include="libusb\libusb\hotplug.c" />
|
|
<ClCompile Include="libusb\libusb\io.c" />
|
|
<ClCompile Include="libusb\libusb\os\events_windows.c" />
|
|
<ClCompile Include="libusb\libusb\strerror.c" />
|
|
<ClCompile Include="libusb\libusb\sync.c" />
|
|
<ClCompile Include="libusb\libusb\os\threads_windows.c" />
|
|
<ClCompile Include="libusb\libusb\os\windows_common.c" />
|
|
<ClCompile Include="libusb\libusb\os\windows_usbdk.c" />
|
|
<ClCompile Include="libusb\libusb\os\windows_winusb.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="libusb\msvc\config.h" />
|
|
<ClInclude Include="libusb\libusb\hotplug.h" />
|
|
<ClInclude Include="libusb\libusb\libusb.h" />
|
|
<ClInclude Include="libusb\libusb\libusbi.h" />
|
|
<ClInclude Include="libusb\libusb\os\events_windows.h" />
|
|
<ClInclude Include="libusb\libusb\os\threads_windows.h" />
|
|
<ClInclude Include="libusb\libusb\version.h" />
|
|
<ClInclude Include="libusb\libusb\version_nano.h" />
|
|
<ClInclude Include="libusb\libusb\os\windows_common.h" />
|
|
<ClInclude Include="libusb\libusb\os\windows_usbdk.h" />
|
|
<ClInclude Include="libusb\libusb\os\windows_winusb.h" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |