Skip to content

Commit

Permalink
Enable whole program optimization and max speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Oct 2, 2024
1 parent c71c822 commit caedb0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/BugTrap.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</PropertyGroup>

<PropertyGroup Condition="$(Configuration.Contains('Release'))" Label="Configuration">
<WholeProgramOptimization>true</WholeProgramOptimization>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>

Expand Down Expand Up @@ -85,7 +86,9 @@

<ItemDefinitionGroup Condition="$(Configuration.Contains('Release'))">
<ClCompile>
<Optimization>MinSpace</Optimization>
<Optimization>MaxSpeed</Optimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<WholeProgramOptimization>true</WholeProgramOptimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<OmitFramePointers>true</OmitFramePointers>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down

0 comments on commit caedb0c

Please sign in to comment.