winrt: Add mmdevapi.lib dependency to WinRT8.1 builds, for WASAPI support.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 31 Dec 2017 03:51:17 -0500
changeset 117968f385b1fd0b6
parent 11795 ceab26a45523
child 11797 4da70548aa06
winrt: Add mmdevapi.lib dependency to WinRT8.1 builds, for WASAPI support.
VisualC-WinRT/WinPhone81_VS2013/SDL-WinPhone81.vcxproj
VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj
     1.1 --- a/VisualC-WinRT/WinPhone81_VS2013/SDL-WinPhone81.vcxproj	Sun Dec 31 03:36:54 2017 -0500
     1.2 +++ b/VisualC-WinRT/WinPhone81_VS2013/SDL-WinPhone81.vcxproj	Sun Dec 31 03:51:17 2017 -0500
     1.3 @@ -407,7 +407,7 @@
     1.4        <SubSystem>Console</SubSystem>
     1.5        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
     1.6        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
     1.7 -      <AdditionalDependencies>DXGI.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
     1.8 +      <AdditionalDependencies>DXGI.lib;d3d11.lib;mmdevapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
     1.9      </Link>
    1.10    </ItemDefinitionGroup>
    1.11    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.12 @@ -421,7 +421,7 @@
    1.13        <SubSystem>Console</SubSystem>
    1.14        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    1.15        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    1.16 -      <AdditionalDependencies>DXGI.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.17 +      <AdditionalDependencies>DXGI.lib;d3d11.lib;mmdevapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.18      </Link>
    1.19    </ItemDefinitionGroup>
    1.20    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm'">
    1.21 @@ -435,7 +435,7 @@
    1.22        <SubSystem>Console</SubSystem>
    1.23        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    1.24        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    1.25 -      <AdditionalDependencies>DXGI.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.26 +      <AdditionalDependencies>DXGI.lib;d3d11.lib;mmdevapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.27      </Link>
    1.28    </ItemDefinitionGroup>
    1.29    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm'">
    1.30 @@ -449,7 +449,7 @@
    1.31        <SubSystem>Console</SubSystem>
    1.32        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    1.33        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    1.34 -      <AdditionalDependencies>DXGI.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.35 +      <AdditionalDependencies>DXGI.lib;d3d11.lib;mmdevapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.36      </Link>
    1.37    </ItemDefinitionGroup>
    1.38    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
     2.1 --- a/VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj	Sun Dec 31 03:36:54 2017 -0500
     2.2 +++ b/VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj	Sun Dec 31 03:51:17 2017 -0500
     2.3 @@ -484,7 +484,7 @@
     2.4        <SubSystem>Console</SubSystem>
     2.5        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
     2.6        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
     2.7 -      <AdditionalDependencies>xinput.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
     2.8 +      <AdditionalDependencies>xinput.lib;mmdevapi.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
     2.9      </Link>
    2.10    </ItemDefinitionGroup>
    2.11    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    2.12 @@ -498,7 +498,7 @@
    2.13        <SubSystem>Console</SubSystem>
    2.14        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    2.15        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    2.16 -      <AdditionalDependencies>xinput.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.17 +      <AdditionalDependencies>xinput.lib;mmdevapi.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.18      </Link>
    2.19    </ItemDefinitionGroup>
    2.20    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm'">
    2.21 @@ -512,7 +512,7 @@
    2.22        <SubSystem>Console</SubSystem>
    2.23        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    2.24        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    2.25 -      <AdditionalDependencies>xinput.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.26 +      <AdditionalDependencies>xinput.lib;mmdevapi.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.27      </Link>
    2.28    </ItemDefinitionGroup>
    2.29    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm'">
    2.30 @@ -526,7 +526,7 @@
    2.31        <SubSystem>Console</SubSystem>
    2.32        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    2.33        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    2.34 -      <AdditionalDependencies>xinput.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.35 +      <AdditionalDependencies>xinput.lib;mmdevapi.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.36      </Link>
    2.37    </ItemDefinitionGroup>
    2.38    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    2.39 @@ -540,7 +540,7 @@
    2.40        <SubSystem>Console</SubSystem>
    2.41        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    2.42        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    2.43 -      <AdditionalDependencies>xinput.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.44 +      <AdditionalDependencies>xinput.lib;mmdevapi.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.45      </Link>
    2.46    </ItemDefinitionGroup>
    2.47    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    2.48 @@ -554,7 +554,7 @@
    2.49        <SubSystem>Console</SubSystem>
    2.50        <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
    2.51        <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    2.52 -      <AdditionalDependencies>xinput.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.53 +      <AdditionalDependencies>xinput.lib;mmdevapi.lib;d2d1.lib;d3d11.lib;dxgi.lib;ole32.lib;windowscodecs.lib;dwrite.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    2.54      </Link>
    2.55    </ItemDefinitionGroup>
    2.56    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />