blob: 54cba5aaff9b7bc52d5a0197f9246e79d8e64d60 [file] [log] [blame]
Austin Schuh272c6132020-11-14 16:37:52 -08001<Project Sdk="Microsoft.NET.Sdk">
2
Austin Schuhe89fa2d2019-08-14 20:24:23 -07003 <PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -08004 <TargetFrameworks>netstandard2.1;netstandard2.0;net46</TargetFrameworks>
5 <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Austin Schuhe89fa2d2019-08-14 20:24:23 -07006 </PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -08007
8 <PropertyGroup Condition="'$(UNSAFE_BYTEBUFFER)' == 'true'">
9 <DefineConstants>$(DefineConstants);UNSAFE_BYTEBUFFER</DefineConstants>
10 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070011 </PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -080012 <PropertyGroup Condition="'$(BYTEBUFFER_NO_BOUNDS_CHECK)' == 'true'">
13 <DefineConstants>$(DefineConstants);BYTEBUFFER_NO_BOUNDS_CHECK</DefineConstants>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070014 </PropertyGroup>
Austin Schuh272c6132020-11-14 16:37:52 -080015 <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 Schuhe89fa2d2019-08-14 20:24:23 -070021 </ItemGroup>
Austin Schuh272c6132020-11-14 16:37:52 -080022
23</Project>