Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 3 | <PropertyGroup> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 4 | <TargetFrameworks>netstandard2.1;netstandard2.0;net46</TargetFrameworks> |
| 5 | <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 6 | </PropertyGroup> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 7 | |
| 8 | <PropertyGroup Condition="'$(UNSAFE_BYTEBUFFER)' == 'true'"> |
| 9 | <DefineConstants>$(DefineConstants);UNSAFE_BYTEBUFFER</DefineConstants> |
| 10 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 11 | </PropertyGroup> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 12 | <PropertyGroup Condition="'$(BYTEBUFFER_NO_BOUNDS_CHECK)' == 'true'"> |
| 13 | <DefineConstants>$(DefineConstants);BYTEBUFFER_NO_BOUNDS_CHECK</DefineConstants> |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 14 | </PropertyGroup> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 15 | <PropertyGroup Condition="'$(ENABLE_SPAN_T)' == 'true'"> |
| 16 | <DefineConstants>$(DefineConstants);ENABLE_SPAN_T</DefineConstants> |
| 17 | </PropertyGroup> |
| 18 | |
| 19 | <ItemGroup Condition="('$(ENABLE_SPAN_T)' == 'true') And (('$(TargetFramework)' == 'netstandard2.0') Or ('$(TargetFramework)' == 'net46'))"> |
| 20 | <PackageReference Include="System.Memory" Version="4.5.4" /> |
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 21 | </ItemGroup> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 22 | |
| 23 | </Project> |