-
Notifications
You must be signed in to change notification settings - Fork 1
/
BFC.csproj
25 lines (21 loc) · 889 Bytes
/
BFC.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<PublishTrimmed>true</PublishTrimmed>
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Type)'=='LLVM'">
<NoWarn>$(NoWarn);NU1701</NoWarn>
<DefineConstants>$(DefineConstants);LLVM</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Type)'=='BENCHMARK'">
<DefineConstants>$(DefineConstants);BENCHMARK</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="$(DefineConstants.Contains('BANCHMARK'))">
<PackageReference Include="BenchmarkDotNet" Version="0.13.1" />
</ItemGroup>
<ItemGroup Condition="$(DefineConstants.Contains('LLVM'))">
<PackageReference Include="llvmsharp" Version="5.0.0" />
</ItemGroup>
</Project>