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 -2
View File
@@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Platforms>x64</Platforms>
<Configurations>Debug;Release</Configurations>
<Configurations>Debug;Release;Deterministic</Configurations>
</PropertyGroup>
<ItemGroup>
@@ -26,7 +26,7 @@
</AssemblyAttribute>
</ItemGroup>
<PropertyGroup Condition="'$(IS_BENCH)'=='1'">
<PropertyGroup Condition="'$(IS_BENCH)'=='1' Or '$(Configuration)'=='Deterministic'">
<DefineConstants>$(DefineConstants);IS_DETERMINISTIC</DefineConstants>
</PropertyGroup>