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
@@ -7,7 +7,7 @@
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<Platforms>x64</Platforms>
<Configurations>Debug;Release</Configurations>
<Configurations>Debug;Release;Deterministic</Configurations>
</PropertyGroup>
<ItemGroup>
@@ -32,7 +32,7 @@
<ProjectReference Include="..\Solver\Craftimizer.Solver.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(IS_BENCH)'=='1'">
<PropertyGroup Condition="'$(IS_BENCH)'=='1' Or '$(Configuration)'=='Deterministic'">
<DefineConstants>$(DefineConstants);IS_DETERMINISTIC</DefineConstants>
</PropertyGroup>