Add deterministic compile option

This commit is contained in:
Asriel Camora
2024-03-18 01:36:47 -07:00
parent 492d632d25
commit 7401334c2f
6 changed files with 41 additions and 11 deletions
+2 -3
View File
@@ -3,10 +3,9 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<Platforms>x64</Platforms>
<Configurations>Debug;Release</Configurations>
<Configurations>Debug;Release;Deterministic</Configurations>
</PropertyGroup>
<ItemGroup>
@@ -16,7 +15,7 @@
</PackageReference>
</ItemGroup>
<PropertyGroup Condition="'$(IS_BENCH)'=='1'">
<PropertyGroup Condition="'$(IS_BENCH)'=='1' Or '$(Configuration)'=='Deterministic'">
<DefineConstants>$(DefineConstants);IS_DETERMINISTIC</DefineConstants>
</PropertyGroup>