Skip to content

Commit

Permalink
Proper optimization and arch settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Dec 7, 2024
1 parent 179e19c commit d5c7e28
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vcproj/tiny_bvh_minimal.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<Optimization>Full</Optimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<FloatingPointModel>Fast</FloatingPointModel>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down
4 changes: 4 additions & 0 deletions vcproj/tiny_bvh_pt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalIncludeDirectories>..\external\embree\include</AdditionalIncludeDirectories>
<OpenMPSupport>true</OpenMPSupport>
<Optimization>Full</Optimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<FloatingPointModel>Fast</FloatingPointModel>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
3 changes: 3 additions & 0 deletions vcproj/tiny_bvh_renderer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down
2 changes: 2 additions & 0 deletions vcproj/tiny_bvh_speedtest.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
<AdditionalIncludeDirectories>../external/OpenCL/inc/;../external/embree/include</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down

0 comments on commit d5c7e28

Please sign in to comment.