Files
TEngine/DotNet/ThirdParty/ThirdParty.csproj
ALEXTANG d87653a9fb 调整对于Linux打包的支持
调整对于Linux打包的支持
2023-07-15 00:58:40 +08:00

94 lines
3.6 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>disable</Nullable>
<LangVersion>11</LangVersion>
<RootNamespace>TEngine</RootNamespace>
<AssemblyName>ThirdParty</AssemblyName>
</PropertyGroup>
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>DOTNET;UNITY_DOTSPLAYER;TENGINE_NET;</DefineConstants>
<OutputPath>..\Bin\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Optimize>true</Optimize>
<NoWarn>0169,0649,3021,8981</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>DOTNET;UNITY_DOTSPLAYER;TENGINE_NET;</DefineConstants>
<OutputPath>..\Bin\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>0169,0649,3021,8981</NoWarn>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\Assets\GameScripts\ThirdParty\TrueSync\**\*.cs">
<Link>TrueSync/%(RecursiveDir)%(FileName)%(Extension)</Link>
</Compile>
<!-- <Compile Include="..\..\Assets\GameScripts\ThirdParty\Kcp\**\*.cs">
<Link>Kcp/%(RecursiveDir)%(FileName)%(Extension)</Link>
</Compile> -->
<Compile Include="..\..\Assets\GameScripts\ThirdParty\Recast\Recast.cs">
<Link>Recast\Recast.cs</Link>
</Compile>
<Compile Include="..\..\Library\PackageCache\com.unity.mathematics*\Unity.Mathematics\**\*.cs">
<Link>Unity.Mathematics/$([System.String]::new(%(RecursiveDir)).Substring($([System.String]::new(%(RecursiveDir)).Indexof("Unity.Mathematics"))).Replace("Unity.Mathematics", ""))/%(FileName)%(Extension)</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\Assets\TEngine\Plugins\MacOS\x86_64\libRecastDll.dylib">
<Link>libRecastDll.dylib</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Assets\TEngine\Plugins\x86_64\libRecastDll.so">
<Link>libRecastDll.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Assets\TEngine\Plugins\x86_64\RecastDll.dll">
<Link>RecastDll.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="KCPLibrary\kcp.dylib">
<Link>kcp.dylib</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="KCPLibrary\kcp.dll">
<Link>kcp.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="KCPLibrary\kcp.so">
<Link>kcp.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="EPPlus" Version="5.8.8" />
<PackageReference Include="MemoryPack" Version="1.9.13" />
<PackageReference Include="MongoDB.Driver" Version="2.17.1" />
<PackageReference Include="NLog" Version="4.7.15" />
<PackageReference Include="SharpZipLib" Version="1.3.3" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.0.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" />
</ItemGroup>
</Project>