-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathStride.Video.csproj
More file actions
49 lines (49 loc) · 2.46 KB
/
Stride.Video.csproj
File metadata and controls
49 lines (49 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<Project>
<PropertyGroup>
<StrideRuntime>true</StrideRuntime>
<StrideGraphicsApiDependent>true</StrideGraphicsApiDependent>
</PropertyGroup>
<Import Project="..\..\targets\Stride.props" />
<PropertyGroup>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StridePlatformDependent>true</StridePlatformDependent>
<StrideBuildTags>*</StrideBuildTags>
<StrideCodeAnalysis>true</StrideCodeAnalysis>
<StridePackAssets>true</StridePackAssets>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFrameworkAndroid)'">
<DefineConstants>STRIDE_VIDEO_MEDIACODEC;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == '$(StrideFramework)'">
<DefineConstants>STRIDE_VIDEO_FFMPEG;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\shared\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Stride.Engine\Stride.Engine.csproj" />
<PackageReference Include="Microsoft.Windows.CsWin32" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" >
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Silk.NET.Direct3D11" Condition="'$(TargetFramework)' == '$(StrideFramework)' Or '$(TargetFramework)' == '$(StrideFrameworkUWP)'" />
<PackageReference Include="Silk.NET.Direct3D12" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
</ItemGroup>
<Choose>
<When Condition="$(DefineConstants.Contains(STRIDE_VIDEO_FFMPEG))">
<ItemGroup>
<StrideNativeLib Include="$(MSBuildThisFileDirectory)..\..\..\deps\FFmpeg\$(StridePlatformDeps)\**\*.*" Exclude="$(MSBuildThisFileDirectory)..\..\..\deps\FFmpeg\$(StridePlatformDeps)\*.*">
<Link>runtimes\%(RecursiveDir)native\%(Filename)%(Extension)</Link>
<RelativePath>runtimes\%(RecursiveDir)native\%(Filename)%(Extension)</RelativePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</StrideNativeLib>
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<PackageReference Include="FFmpeg.AutoGen" Condition="'$(TargetFramework)' == '$(StrideFramework)'" />
</ItemGroup>
<Import Project="$(StrideSdkTargets)" />
</Project>