forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMonoGame.Framework.Content.Pipeline.csproj
More file actions
134 lines (118 loc) · 7.57 KB
/
MonoGame.Framework.Content.Pipeline.csproj
File metadata and controls
134 lines (118 loc) · 7.57 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\MonoGame.props" />
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<BaseOutputPath>..\Artifacts\MonoGame.Framework.Content.Pipeline</BaseOutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Description>The Monogame Content Pipeline for Windows, Mac and Linux is used to compile raw content to xnb files.</Description>
<PackageTags>monogame;content;content pipeline</PackageTags>
<PackageId>MonoGame.Framework.Content.Pipeline</PackageId>
<AssemblyName>MonoGame.Framework.Content.Pipeline</AssemblyName>
<RootNamespace>Microsoft.Xna.Framework.Content.Pipeline</RootNamespace>
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
<DefineConstants>STBSHARP_INTERNAL</DefineConstants>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<Compile Remove="bin\**\*" />
<Compile Remove="obj\**\*" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Tools\MonoGame.Effect.Compiler\Effect\**\*.cs">
<Link>Processors\Effect\%(RecursiveDir)%(Filename)%(Extension)</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="..\MonoGame.Framework\Platform\Utilities\CurrentPlatform.cs">
<Link>Utilities\CurrentPlatform.cs</Link>
</Compile>
<Compile Include="..\MonoGame.Framework\Utilities\Hash.cs">
<Link>Utilities\Hash.cs</Link>
</Compile>
<Compile Include="..\MonoGame.Framework\Utilities\ReflectionHelpers.cs">
<Link>Utilities\ReflectionHelpers.cs</Link>
</Compile>
<Compile Include="..\MonoGame.Framework\Platform\Utilities\AssemblyHelper.cs">
<Link>Utilities\AssemblyHelper.cs</Link>
</Compile>
<Compile Include="..\MonoGame.Framework\Platform\Utilities\ReflectionHelpers.Default.cs">
<Link>Utilities\ReflectionHelpers.Default.cs</Link>
</Compile>
<Compile Include="..\MonoGame.Framework\Graphics\GraphicsExtensions.cs">
<Link>Utilities\GraphicsExtensions.cs</Link>
</Compile>
<Compile Include="..\MonoGame.Framework\Content\ContentExtensions.cs">
<Link>Utilities\ContentExtensions.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGame.Framework\MonoGame.Framework.DesktopGL.csproj">
<PrivateAssets>All</PrivateAssets>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="AssimpNetter" Version="5.4.3.3" />
<PackageReference Include="BCnEncoder.Net" Version="2.1.0" />
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />
<PackageReference Include="MonoGame.Library.FreeType" Version="2.13.2.2" />
<PackageReference Include="MonoGame.Library.MojoShader" Version="1.0.0.3" />
<PackageReference Include="MonoGame.Tool.Basisu" Version="1.60.0.3" />
<PackageReference Include="MonoGame.Tool.Crunch" Version="1.0.4.5" />
<PackageReference Include="MonoGame.Tool.Dxc" Version="1.8.2505.10" />
<PackageReference Include="MonoGame.Tool.FFmpeg" Version="7.0.0.9" />
<PackageReference Include="MonoGame.Tool.FFprobe" Version="7.0.0.9" />
<PackageReference Include="SharpDX" Version="4.0.1" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.0.1" />
<PackageReference Include="LibKTX" Version="0.9.2" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageReference Include="YamlDotNet" Version="16.3.0" />
</ItemGroup>
<ItemGroup>
<Content Include="..\Artifacts\native\mgpipeline\windows\$(Configuration)\mgpipeline.dll" Condition="Exists('..\Artifacts\native\mgpipeline\windows\$(Configuration)\mgpipeline.dll')" Visible="false">
<PackagePath>runtimes\win-x64\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\Artifacts\native\mgpipeline\linux\$(Configuration)\libmgpipeline.so" Condition="Exists('..\Artifacts\native\mgpipeline\linux\$(Configuration)\libmgpipeline.so')" Visible="false">
<PackagePath>runtimes\linux-x64\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\Artifacts\native\mgpipeline\macosx\$(Configuration)\libmgpipeline.dylib" Condition="Exists('..\Artifacts\native\mgpipeline\macosx\$(Configuration)\libmgpipeline.dylib')" Visible="false">
<PackagePath>runtimes\osx\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<PropertyGroup>
<!-- NU5100 - NuGet warns if we copy assemblies but don't reference them; we suppress those warnings. -->
<!-- CS1591 - Disable XML documentation warnings. -->
<NoWarn>NU5100;CS1591</NoWarn>
</PropertyGroup>
<Import Project="..\external\CppNet\CppNet.targets" />
<Import Project="..\Switch\MonoGame.Framework.Content.Pipeline.targets" Condition="exists('..\Switch\MonoGame.Framework.Content.Pipeline.targets')" />
<Import Project="..\XBoxOne\MonoGame.Framework.Content.Pipeline.targets" Condition="exists('..\XBoxOne\MonoGame.Framework.Content.Pipeline.targets')" />
<Import Project="..\PlayStation4\MonoGame.Framework.Content.Pipeline.targets" Condition="exists('..\PlayStation4\MonoGame.Framework.Content.Pipeline.targets')" />
<Import Project="..\PlayStation5\MonoGame.Framework.Content.Pipeline.targets" Condition="exists('..\PlayStation5\MonoGame.Framework.Content.Pipeline.targets')" />
<Import Project="..\PSVita\MonoGame.Framework.Content.Pipeline.targets" Condition="exists('..\PSVita\MonoGame.Framework.Content.Pipeline.targets')" />
<Import Project="..\GDKX\MonoGame.Framework.Content.Pipeline.targets" Condition="exists('..\GDKX\MonoGame.Framework.Content.Pipeline.targets')" />
<Import Project="..\Switch\MonoGame.Effect.Compiler.targets" Condition="exists('..\Switch\MonoGame.Effect.Compiler.targets')" />
<Import Project="..\XBoxOne\MonoGame.Effect.Compiler.targets" Condition="exists('..\XBoxOne\MonoGame.Effect.Compiler.targets')" />
<Import Project="..\PlayStation4\MonoGame.Effect.Compiler.targets" Condition="exists('..\PlayStation4\MonoGame.Effect.Compiler.targets')" />
<Import Project="..\PlayStation5\MonoGame.Effect.Compiler.targets" Condition="exists('..\PlayStation5\MonoGame.Effect.Compiler.targets')" />
<Import Project="..\GDKX\MonoGame.Effect.Compiler.targets" Condition="exists('..\GDKX\MonoGame.Effect.Compiler.targets')" />
<Target Name="BuildMGCPW" Condition="'$(DisableNativeBuild)' != 'True' and '$(OS)' == 'Windows_NT'" BeforeTargets="CollectPackageReferences">
<Exec Command=""$(MSBuildProgramFiles32)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe" ConsoleToMSBuild="true">
<Output TaskParameter="ConsoleOutput" PropertyName="MGMSBuild" />
</Exec>
<Exec Command="premake5 vs2022" WorkingDirectory="../native/pipeline/" />
<Exec Command=""$(MGMSBuild)" pipeline.sln /p:Configuration=$(Configuration) /p:Platform=x64" WorkingDirectory="../native/pipeline/" />
</Target>
<Target Name="BuildMGCPU" Condition="'$(DisableNativeBuild)' != 'True' and '$(OS)' != 'Windows_NT'" BeforeTargets="CollectPackageReferences">
<Exec Command="premake5 gmake" WorkingDirectory="../native/pipeline/" />
<Exec Command="make config=$(Configuration.ToLower())" WorkingDirectory="../native/pipeline/" />
</Target>
</Project>