ET.Mathematics.csproj 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <Nullable>disable</Nullable>
  5. <LangVersion>12</LangVersion>
  6. <RootNamespace>ET</RootNamespace>
  7. <AssemblyName>ET.Mathematics</AssemblyName>
  8. </PropertyGroup>
  9. <PropertyGroup>
  10. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  11. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  12. </PropertyGroup>
  13. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  14. <DefineConstants>DOTNET;UNITY_DOTSPLAYER</DefineConstants>
  15. <OutputPath>$(SolutionDir)Bin</OutputPath>
  16. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  17. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  18. <Optimize>true</Optimize>
  19. <NoWarn>0169,0649,3021,8981,NU1903</NoWarn>
  20. </PropertyGroup>
  21. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  22. <DefineConstants>DOTNET;UNITY_DOTSPLAYER</DefineConstants>
  23. <OutputPath>$(SolutionDir)Bin</OutputPath>
  24. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  25. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  26. <NoWarn>0169,0649,3021,8981,NU1903</NoWarn>
  27. </PropertyGroup>
  28. <ItemGroup>
  29. <Compile Include="..\..\..\Library\PackageCache\com.unity.mathematics*\Unity.Mathematics\**\*.cs">
  30. <Link>Unity.Mathematics/$([System.String]::new(%(RecursiveDir)).Substring($([System.String]::new(%(RecursiveDir)).Indexof("Unity.Mathematics"))).Replace("Unity.Mathematics", ""))/%(FileName)%(Extension)</Link>
  31. </Compile>
  32. </ItemGroup>
  33. </Project>