Skip to content

Commit

Permalink
Always enable optimized Manifold
Browse files Browse the repository at this point in the history
Found out the hard way that a Debug manifold build without optimization is MUCH
slower - impractically slow when it comes to things like plate mode bot
offsetting.

In the (rare) event we really need something like understandable perf reporting
on Linux, this setting can be manually turned off in this file.
  • Loading branch information
starseeker committed Feb 19, 2025
1 parent e466239 commit 7ac50ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifold/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (ENABLE_MANIFOLD)
-Dpugixml_ROOT=$<$<BOOL:${PUGIXML_TARGET}>:${CMAKE_BUNDLE_INSTALL_PREFIX}>
-DMANIFOLD_TEST=OFF
-DMANIFOLD_EXPORT=ON
-DMANIFOLD_OPTIMIZED=ON
$<$<BOOL:${PUGIXML_TARGET}>:-DREQUIRE_EXT_PUGIXML=ON>
-DGLM_BUILD_LIBRARY=OFF
-DGLM_BUILD_INSTALL=ON
Expand Down

0 comments on commit 7ac50ea

Please sign in to comment.