|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFrameworks>net8.0;net8.0-windows;net8.0-android;net8.0-ios;net8.0-tvos</TargetFrameworks> |
| 4 | + <RootNamespace>Microsoft.Xna.Framework</RootNamespace> |
| 5 | + <AssemblyName>FNA.NET.NativeAssets</AssemblyName> |
| 6 | + <EnableDefaultItems>false</EnableDefaultItems> |
| 7 | + <VersionPrefix>2.0.0.2506</VersionPrefix> |
| 8 | + <VersionSuffix></VersionSuffix> |
| 9 | + </PropertyGroup> |
| 10 | + |
| 11 | + <PropertyGroup> |
| 12 | + <PackageProjectUrl>https://github.com/FNA-NET/FNA</PackageProjectUrl> |
| 13 | + <RepositoryUrl>https://github.com/FNA-NET/FNA-NET.NativeAssets</RepositoryUrl> |
| 14 | + <Authors>ryancheung</Authors> |
| 15 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 16 | + <PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 17 | + <Description>.NET 8 wrapper of FNA native libs for FNA-NET.</Description> |
| 18 | + <PackageTags>fna;xna;net8</PackageTags> |
| 19 | + <PackageId>FNA.NET.NativeAssets</PackageId> |
| 20 | + <Copyright>Copyright 2025 FNA-NET</Copyright> |
| 21 | + </PropertyGroup> |
| 22 | + |
| 23 | + <ItemGroup> |
| 24 | + <None Include="..\README.md" Pack="true" PackagePath="\"/> |
| 25 | + </ItemGroup> |
| 26 | + |
| 27 | + <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-android'"> |
| 28 | + <SupportedOSPlatformVersion>21</SupportedOSPlatformVersion> |
| 29 | + </PropertyGroup> |
| 30 | + |
| 31 | + <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-ios' or '$(TargetFramework)' == 'net8.0-tvos'"> |
| 32 | + <IsBindingProject>true</IsBindingProject> |
| 33 | + <NoBindingEmbedding>true</NoBindingEmbedding> |
| 34 | + <SupportedOSPlatformVersion>11.0</SupportedOSPlatformVersion> |
| 35 | + </PropertyGroup> |
| 36 | + |
| 37 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios' or '$(TargetFramework)' == 'net8.0-tvos'"> |
| 38 | + <ObjcBindingApiDefinition Include="DummyApiDefinition.cs" /> |
| 39 | + <ObjcBindingCoreSource Include="Dummy.cs" Exclude="" /> |
| 40 | + </ItemGroup> |
| 41 | + |
| 42 | + <ItemGroup> |
| 43 | + <None Include="runtimes\FAudio\win-x64\FAudio.dll" Pack="true" PackagePath="runtimes\win-x64\native\"/> |
| 44 | + <None Include="runtimes\FAudio\linux-x64\libFAudio.so.0" Pack="true" PackagePath="runtimes\linux-x64\native\"/> |
| 45 | + <None Include="runtimes\FAudio\osx\libFAudio.0.dylib" Pack="true" PackagePath="runtimes\osx\native\"/> |
| 46 | + |
| 47 | + <None Include="runtimes\FNA3D\win-x64\FNA3D.dll" Pack="true" PackagePath="runtimes\win-x64\native\"/> |
| 48 | + <None Include="runtimes\FNA3D\linux-x64\libFNA3D.so.0" Pack="true" PackagePath="runtimes\linux-x64\native\"/> |
| 49 | + <None Include="runtimes\FNA3D\osx\libFNA3D.0.dylib" Pack="true" PackagePath="runtimes\osx\native\"/> |
| 50 | + |
| 51 | + <None Include="runtimes\theorafile\win-x64\libtheorafile.dll" Pack="true" PackagePath="runtimes\win-x64\native\"/> |
| 52 | + <None Include="runtimes\theorafile\linux-x64\libtheorafile.so" Pack="true" PackagePath="runtimes\linux-x64\native\"/> |
| 53 | + <None Include="runtimes\theorafile\osx\libtheorafile.dylib" Pack="true" PackagePath="runtimes\osx\native\"/> |
| 54 | + |
| 55 | + <None Include="runtimes\SDL3\win-x64\SDL3.dll" Pack="true" PackagePath="runtimes\win-x64\native\"/> |
| 56 | + <None Include="runtimes\SDL3\linux-x64\libSDL2-2.0.so.0" Pack="true" PackagePath="runtimes\linux-x64\native\"/> |
| 57 | + <None Include="runtimes\SDL3\osx\libSDL2-2.0.0.dylib" Pack="true" PackagePath="runtimes\osx\native\"/> |
| 58 | + </ItemGroup> |
| 59 | + |
| 60 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'"> |
| 61 | + <EmbeddedNativeLibrary Include="runtimes\FAudio\android\arm64-v8a\libFAudio.so" Link="libs\arm64-v8a\libFAudio.so" /> |
| 62 | + |
| 63 | + <EmbeddedNativeLibrary Include="runtimes\FNA3D\android\arm64-v8a\libFNA3D.so" Link="libs\arm64-v8a\libFNA3D.so" /> |
| 64 | + |
| 65 | + <EmbeddedNativeLibrary Include="runtimes\Theorafile\android\arm64-v8a\libtheorafile.so" Link="libs\arm64-v8a\libtheorafile.so" /> |
| 66 | + |
| 67 | + <EmbeddedNativeLibrary Include="runtimes\SDL3\android\arm64-v8a\libSDL3.so" Link="libs\arm64-v8a\libSDL3.so" /> |
| 68 | + </ItemGroup> |
| 69 | + |
| 70 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'"> |
| 71 | + <NativeReference Include="runtimes\FAudio\ios\FAudio.xcframework"> |
| 72 | + <Kind>Static</Kind> |
| 73 | + <SmartLink>False</SmartLink> |
| 74 | + <ForceLoad>True</ForceLoad> |
| 75 | + <Frameworks>AVFoundation AudioToolbox CoreGraphics Metal QuartzCore OpenGLES GameController CoreMotion MobileCoreServices ImageIO CoreHaptics CoreBluetooth</Frameworks> |
| 76 | + </NativeReference> |
| 77 | + <NativeReference Include="runtimes\FNA3D\ios\FNA3D.xcframework"> |
| 78 | + <Kind>Static</Kind> |
| 79 | + <SmartLink>False</SmartLink> |
| 80 | + <ForceLoad>True</ForceLoad> |
| 81 | + </NativeReference> |
| 82 | + <NativeReference Include="runtimes\SDL3\ios\SDL3.xcframework"> |
| 83 | + <Kind>Static</Kind> |
| 84 | + <SmartLink>False</SmartLink> |
| 85 | + <ForceLoad>True</ForceLoad> |
| 86 | + </NativeReference> |
| 87 | + <NativeReference Include="runtimes\Theorafile\ios\theorafile.xcframework"> |
| 88 | + <Kind>Static</Kind> |
| 89 | + <SmartLink>False</SmartLink> |
| 90 | + <ForceLoad>True</ForceLoad> |
| 91 | + </NativeReference> |
| 92 | + </ItemGroup> |
| 93 | + |
| 94 | + <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-tvos'"> |
| 95 | + <NativeReference Include="runtimes\FAudio\tvos\FAudio.xcframework"> |
| 96 | + <Kind>Static</Kind> |
| 97 | + <SmartLink>False</SmartLink> |
| 98 | + <ForceLoad>True</ForceLoad> |
| 99 | + <Frameworks>AVFoundation AudioToolbox CoreGraphics Metal QuartzCore OpenGLES GameController CoreBluetooth MobileCoreServices ImageIO CoreHaptics</Frameworks> |
| 100 | + </NativeReference> |
| 101 | + <NativeReference Include="runtimes\FNA3D\tvos\FNA3D.xcframework"> |
| 102 | + <Kind>Static</Kind> |
| 103 | + <SmartLink>False</SmartLink> |
| 104 | + <ForceLoad>True</ForceLoad> |
| 105 | + </NativeReference> |
| 106 | + <NativeReference Include="runtimes\SDL3\tvos\SDL3.xcframework"> |
| 107 | + <Kind>Static</Kind> |
| 108 | + <SmartLink>False</SmartLink> |
| 109 | + <ForceLoad>True</ForceLoad> |
| 110 | + </NativeReference> |
| 111 | + <NativeReference Include="runtimes\Theorafile\tvos\theorafile.xcframework"> |
| 112 | + <Kind>Static</Kind> |
| 113 | + <SmartLink>False</SmartLink> |
| 114 | + <ForceLoad>True</ForceLoad> |
| 115 | + </NativeReference> |
| 116 | + </ItemGroup> |
| 117 | +</Project> |
0 commit comments