Reference CultMath instead of Unity.Mathematics
Aetheria.Shared.csproj drops the Library\PackageCache math sources and references CultMath.csproj under the pinned CultLibRoot. The asmdefs drop Unity.Mathematics; Tests overrides references, so it names CultMath.dll in precompiledReferences. The manifest drops com.unity.mathematics (Burst and Collections still resolve it) and adds org.gamecult.cultmath at cultmath-unity-v0.2.1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
4f4beb0fe4
commit
1bad87fc35
4 changed files with 5 additions and 8 deletions
|
|
@ -15,8 +15,6 @@
|
|||
<!-- Existing code warnings; the build is a Unity-independence check, not a lint pass -->
|
||||
<NoWarn>$(NoWarn);CS0108;CS0114;CS0162;CS0168;CS0169;CS0219;CS0414;CS0618;CS0649;CS8321;CS8981;SYSLIB0021</NoWarn>
|
||||
<Assets>$(MSBuildThisFileDirectory)..\Assets\</Assets>
|
||||
<!-- Unity.Mathematics ships only as a Unity package; its sources come from the package cache Unity resolved -->
|
||||
<MathematicsSource>$(MSBuildThisFileDirectory)..\Library\PackageCache\com.unity.mathematics@*\Unity.Mathematics\</MathematicsSource>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(Assets)Scripts\ServerShared\**\*.cs" />
|
||||
|
|
@ -25,9 +23,9 @@
|
|||
<!-- The reactive collections live in UniRx's Unity bridge but fence their Unity parts behind UniRxLibrary -->
|
||||
<Compile Include="$(Assets)Plugins\UniRx\Scripts\UnityEngineBridge\ReactiveProperty.cs;$(Assets)Plugins\UniRx\Scripts\UnityEngineBridge\ReactiveCollection.cs;$(Assets)Plugins\UniRx\Scripts\UnityEngineBridge\ReactiveDictionary.cs" />
|
||||
<Compile Include="$(Assets)Plugins\Ink\**\*.cs" />
|
||||
<Compile Include="$(MathematicsSource)**\*.cs" Exclude="$(MathematicsSource)math_unity_conversion.cs;$(MathematicsSource)PropertyAttributes.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(CultLibRoot)\packages\cultmath\src\CultMath\CultMath.csproj" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<!-- Bundled by Unity; .NET Standard 2.1 lacks it -->
|
||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue