-
Notifications
You must be signed in to change notification settings - Fork 37
/
Foster.Framework.csproj
86 lines (78 loc) · 3.81 KB
/
Foster.Framework.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Title>Foster</Title>
<Product>Foster</Product>
<Version>0.1.19-alpha</Version>
<Authors>Noel Berry</Authors>
<Description>A small 2D cross-platform Game Framework</Description>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/FosterFramework/Foster</RepositoryUrl>
<PackageId>FosterFramework</PackageId>
<PackageProjectUrl>https://github.com/FosterFramework/Foster</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageOutputPath>$(SolutionDir)artifacts/</PackageOutputPath>
<IsAotCompatible>true</IsAotCompatible>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<NativeLibsDir>$(ProjectDir)..\Platform\libs\</NativeLibsDir>
</PropertyGroup>
<PropertyGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'X64'">
<IsX64>true</IsX64>
</PropertyGroup>
<PropertyGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'Arm64'">
<IsArm64>true</IsArm64>
</PropertyGroup>
<PropertyGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'Arm32'">
<IsArm32>true</IsArm32>
</PropertyGroup>
<ItemGroup>
<Content Include="$(NativeLibsDir)win-x64\FosterPlatform.dll">
<CopyToOutputDirectory Condition="$([MSBuild]::IsOSPlatform('Windows')) AND $(IsArm64) != 'true'">PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\win-x64\native</PackagePath>
<Pack>True</Pack>
<Link>FosterPlatform.dll</Link>
</Content>
<Content Include="$(NativeLibsDir)win-arm64\FosterPlatform.dll">
<CopyToOutputDirectory Condition="$([MSBuild]::IsOSPlatform('Windows')) AND $(IsArm64) == 'true'">PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\win-arm64\native</PackagePath>
<Pack>True</Pack>
<Link>FosterPlatform.dll</Link>
</Content>
<Content Include="$(NativeLibsDir)linux-x64\libFosterPlatform.so">
<CopyToOutputDirectory Condition="$([MSBuild]::IsOSPlatform('Linux')) AND $(IsX64) == 'true'">PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\linux-x64\native</PackagePath>
<Pack>True</Pack>
<Link>libFosterPlatform.so</Link>
</Content>
<Content Include="$(NativeLibsDir)linux-arm64\libFosterPlatform.so">
<CopyToOutputDirectory Condition="$([MSBuild]::IsOSPlatform('Linux')) AND $(IsArm64) == 'true'">PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\linux-arm64\native</PackagePath>
<Pack>True</Pack>
<Link>libFosterPlatform.so</Link>
</Content>
<Content Include="$(NativeLibsDir)linux-arm32\libFosterPlatform.so">
<CopyToOutputDirectory Condition="$([MSBuild]::IsOSPlatform('Linux')) AND $(IsArm32) == 'true'">PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\linux-arm\native</PackagePath>
<Pack>True</Pack>
<Link>libFosterPlatform.so</Link>
</Content>
<Content Include="$(NativeLibsDir)osx\libFosterPlatform.dylib">
<CopyToOutputDirectory Condition="$([MSBuild]::IsOSPlatform('OSX'))">PreserveNewest</CopyToOutputDirectory>
<PackagePath>runtimes\osx\native</PackagePath>
<Pack>True</Pack>
<Link>libFosterPlatform.dylib</Link>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="$(ProjectDir)..\LICENSE" Pack="true" PackagePath="/"/>
<None Include="$(ProjectDir)..\README.md" Pack="true" PackagePath="/"/>
</ItemGroup>
</Project>