forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMonoGame.Framework.DesktopGL.csproj
142 lines (127 loc) · 6.51 KB
/
MonoGame.Framework.DesktopGL.csproj
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
135
136
137
138
139
140
141
142
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<DefineConstants>OPENGL;OPENAL;XNADESIGNPROVIDED;LINUX;DESKTOPGL;SUPPORTS_EFX;NETSTANDARD;STBSHARP_INTERNAL</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Description>The MonoGame runtime supporting Windows, Linux and macOS using SDL2 and OpenGL.</Description>
<PackageTags>monogame;.net core;core;.net standard;standard;desktopgl</PackageTags>
<PackageId>MonoGame.Framework.DesktopGL</PackageId>
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
<CopyContentFiles>True</CopyContentFiles>
</PropertyGroup>
<!-- NETFX reference assemblies let us target .NET Framework on Mac/Linux without Mono -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Compile Remove="bin\**\*" />
<Compile Remove="obj\**\*" />
<Compile Remove="Platform\**\*" />
<Compile Remove="Properties\**\*" />
<Compile Remove="Utilities\System.Numerics.Vectors\**\*" />
</ItemGroup>
<ItemGroup>
<None Remove="Platform\**\*" />
<None Remove="Utilities\System.Numerics.Vectors\**\*" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Graphics\GraphicsAdapter.cs" />
<Compile Remove="Media\Video.cs" />
<Compile Remove="Media\VideoPlayer.cs" />
<Compile Remove="Content\ContentReaders\VideoReader.cs" />
<Compile Remove="Input\MessageBox.cs" />
<Compile Remove="Input\KeyboardInput.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="Platform\TitleContainer.Desktop.cs" />
<Compile Include="Platform\Audio\OggStream.cs" />
<Compile Include="Platform\Audio\Xact\WaveBank.Default.cs" />
<Compile Include="Platform\Graphics\OpenGL.Common.cs" />
<Compile Include="Platform\Graphics\Texture2D.StbSharp.cs" />
<Compile Include="Platform\SDL\SDL2.cs" />
<Compile Include="Platform\SDL\SDLGamePlatform.cs" />
<Compile Include="Platform\SDL\SDLGameWindow.cs" />
<Compile Include="Platform\Utilities\AssemblyHelper.cs" />
<Compile Include="Platform\Utilities\CurrentPlatform.cs" />
<Compile Include="Platform\Utilities\FuncLoader.Desktop.cs" />
<Compile Include="Platform\Utilities\InteropHelpers.cs" />
<Compile Include="Platform\Utilities\ReflectionHelpers.Default.cs" />
<Compile Include="Platform\Media\MediaLibrary.Default.cs" />
<Compile Include="Platform\Media\MediaPlayer.Default.cs" />
<Compile Include="Platform\Media\Song.NVorbis.cs" />
<Compile Include="Platform\Input\GamePad.SDL.cs" />
<Compile Include="Platform\Input\InputKeyEventArgs.cs" />
<Compile Include="Platform\Input\Joystick.SDL.cs" />
<Compile Include="Platform\Input\Keyboard.SDL.cs" />
<Compile Include="Platform\Input\KeyboardUtil.SDL.cs" />
<Compile Include="Platform\Input\KeysHelper.cs" />
<Compile Include="Platform\Input\Mouse.SDL.cs" />
<Compile Include="Platform\Input\MouseCursor.SDL.cs" />
<Compile Include="Platform\Graphics\GraphicsContext.SDL.cs" />
<Compile Include="Platform\Graphics\OpenGL.SDL.cs" />
<Compile Include="Platform\Graphics\WindowInfo.SDL.cs" />
<Compile Include="Platform\Graphics\GraphicsAdapter.Legacy.cs" />
<Compile Include="Platform\GamePlatform.Desktop.cs" />
<Compile Include="Platform\GraphicsDeviceManager.SDL.cs" />
<Compile Include="..\ThirdParty\StbImageSharp\src\**\*.cs" LinkBase="Utilities\StbImageSharp" />
<Compile Include="..\ThirdParty\StbImageWriteSharp\src\**\*.cs" LinkBase="Utilities\StbImageWriteSharp" />
<Compile Include="..\ThirdParty\NVorbis\NVorbis\**\*.cs" LinkBase="ThirdParty\NVorbis" />
<Compile Remove="..\ThirdParty\NVorbis\NVorbis\Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="MonoGame.bmp">
<LogicalName>MonoGame.bmp</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="..\ThirdParty\SDL_GameControllerDB\gamecontrollerdb.txt">
<LogicalName>gamecontrollerdb.txt</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup Condition="'$(CopyContentFiles)' == 'True'">
<Content Include="..\ThirdParty\Dependencies\openal-soft\Windows\x86\soft_oal.dll">
<Link>x86\soft_oal.dll</Link>
<PackagePath>runtimes\win-x86\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\SDL\Windows\x86\SDL2.dll">
<Link>x86\SDL2.dll</Link>
<PackagePath>runtimes\win-x86\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\openal-soft\Windows\x64\soft_oal.dll">
<Link>x64\soft_oal.dll</Link>
<PackagePath>runtimes\win-x64\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\SDL\Windows\x64\SDL2.dll">
<Link>x64\SDL2.dll</Link>
<PackagePath>runtimes\win-x64\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\openal-soft\Linux\x64\libopenal.so.1">
<Link>x64\libopenal.so.1</Link>
<PackagePath>runtimes\linux-x64\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\SDL\Linux\x64\libSDL2-2.0.so.0">
<Link>x64\libSDL2-2.0.so.0</Link>
<PackagePath>runtimes\linux-x64\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\openal-soft\MacOS\Universal\libopenal.1.dylib">
<Link>libopenal.1.dylib</Link>
<PackagePath>runtimes\osx\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\ThirdParty\Dependencies\SDL\MacOS\Universal\libSDL2.dylib">
<Link>libSDL2.dylib</Link>
<PackagePath>runtimes\osx\native</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="MonoGame.Framework.DesktopGL.targets" PackagePath="build" />
</ItemGroup>
<Import Project="Platform\OpenGL.targets" />
<Import Project="Platform\OpenAL.targets" />
</Project>