Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 829e3aa

Browse files
author
Cameron Elliott
committed
Moved the re-added DirectX source code, and the generated under 2.6.3 files into a Desktop only conditional, along with references to SharpDX.Mathematics and SharpDX.Direct3D9
1 parent 8490061 commit 829e3aa

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

Source/SharpDX.MediaFoundation/SharpDX.MediaFoundation.csproj

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,6 @@
2424
<Compile Include="AsyncCallbackShadow.cs" />
2525
<Compile Include="ClockStateSink.cs" />
2626
<Compile Include="ClockStateSinkShadow.cs" />
27-
<Compile Include="DirectX\Direct3DDeviceManager.cs" />
28-
<Compile Include="DirectX\Hand.Generated\Enumerations.cs" />
29-
<Compile Include="DirectX\Hand.Generated\Functions.cs" />
30-
<Compile Include="DirectX\Hand.Generated\Interfaces.cs" />
31-
<Compile Include="DirectX\Hand.Generated\LocalInterop.cs" />
32-
<Compile Include="DirectX\Hand.Generated\Structures.cs" />
33-
<Compile Include="DirectX\HDDevice.cs" />
34-
<Compile Include="DirectX\NamespaceDoc.cs" />
35-
<Compile Include="DirectX\VideoAccelerationService.cs" />
36-
<Compile Include="DirectX\VideoDecoderService.cs" />
37-
<Compile Include="DirectX\VideoProcessorService.cs" />
3827
<Compile Include="MediaTypeHandler.cs" />
3928
<Compile Include="PresentationDescriptor.cs" />
4029
<Compile Include="SampleGrabberSinkCallbackShadow2.cs" />
@@ -75,6 +64,19 @@
7564
<Compile Include="VideoPresenterShadow.cs" />
7665
<Compile Include="WorkQueueId.cs" />
7766
</ItemGroup>
67+
<ItemGroup Condition="'$(SharpDXPlatform)' == 'Desktop'">
68+
<Compile Include="DirectX\Direct3DDeviceManager.cs" />
69+
<Compile Include="DirectX\Hand.Generated\Enumerations.cs" />
70+
<Compile Include="DirectX\Hand.Generated\Functions.cs" />
71+
<Compile Include="DirectX\Hand.Generated\Interfaces.cs" />
72+
<Compile Include="DirectX\Hand.Generated\LocalInterop.cs" />
73+
<Compile Include="DirectX\Hand.Generated\Structures.cs" />
74+
<Compile Include="DirectX\HDDevice.cs" />
75+
<Compile Include="DirectX\NamespaceDoc.cs" />
76+
<Compile Include="DirectX\VideoAccelerationService.cs" />
77+
<Compile Include="DirectX\VideoDecoderService.cs" />
78+
<Compile Include="DirectX\VideoProcessorService.cs" />
79+
</ItemGroup>
7880
<ItemGroup>
7981
<None Include="Documentation\CodeComments.xml" />
8082
<None Include="Mapping.xml">
@@ -84,20 +86,22 @@
8486
<ItemGroup>
8587
<None Include="SharpDX.MediaFoundation.nuspec" />
8688
</ItemGroup>
87-
<ItemGroup>
89+
<ItemGroup Condition="'$(SharpDXPlatform)' == 'Desktop'">
8890
<ProjectReference Include="..\SharpDX.Direct3D9\SharpDX.Direct3D9.csproj">
8991
<Project>{b4d984df-85b8-4bbf-8c3b-5cef905f40d9}</Project>
9092
<Name>SharpDX.Direct3D9</Name>
9193
</ProjectReference>
94+
<ProjectReference Include="..\SharpDX.Mathematics\SharpDX.Mathematics.csproj">
95+
<Project>{49e4485f-3a2a-4c35-a159-12eccfc00396}</Project>
96+
<Name>SharpDX.Mathematics</Name>
97+
</ProjectReference>
98+
</ItemGroup>
99+
<ItemGroup>
92100
<ProjectReference Include="..\SharpDX.DXGI\SharpDX.DXGI.csproj">
93101
<Project>{3FC6DE77-B412-4101-9E64-6B9AA831179B}</Project>
94102
<Name>SharpDX.DXGI</Name>
95103
<Private>False</Private>
96104
</ProjectReference>
97-
<ProjectReference Include="..\SharpDX.Mathematics\SharpDX.Mathematics.csproj">
98-
<Project>{49e4485f-3a2a-4c35-a159-12eccfc00396}</Project>
99-
<Name>SharpDX.Mathematics</Name>
100-
</ProjectReference>
101105
<ProjectReference Include="..\SharpDX\SharpDX.csproj">
102106
<Project>{d0bcd56a-41c4-4a4e-8590-26864ced07ff}</Project>
103107
<Name>SharpDX</Name>
@@ -109,6 +113,7 @@
109113
<SubType>Designer</SubType>
110114
</None>
111115
</ItemGroup>
116+
<ItemGroup />
112117
<Import Project="$(SolutionDir)\Build\SharpDX.PostSettings.targets" />
113118
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
114119
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)