40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<OutputType>Exe</OutputType>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<Platforms>x64</Platforms>
|
|
<Configurations>Debug;Release;Deterministic</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="BenchmarkDotNet.Artifacts\**" />
|
|
<EmbeddedResource Remove="BenchmarkDotNet.Artifacts\**" />
|
|
<None Remove="BenchmarkDotNet.Artifacts\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
|
|
<PackageReference Include="BenchmarkDotNet.Diagnostics.dotTrace" Version="0.14.0" />
|
|
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.14.0" />
|
|
<PackageReference Include="Meziantou.Analyzer" Version="2.0.199">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="ObjectLayoutInspector" Version="0.1.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Simulator\Craftimizer.Simulator.csproj" />
|
|
<ProjectReference Include="..\Solver\Craftimizer.Solver.csproj" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(IS_BENCH)'=='1' Or '$(Configuration)'=='Deterministic'">
|
|
<DefineConstants>$(DefineConstants);IS_DETERMINISTIC</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|