Skip to content

Commit

Permalink
Increased stack size to 10 MB.
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzinoth committed May 15, 2024
1 parent 256d98c commit c65b305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ project(HabiCAT3D LANGUAGES CXX)

set(CMAKE_CXX_FLAGS_DEBUG "/MP /Zi /MDd /INCREMENTAL:NO /DEBUG /OPT:REF /OPT:ICF /Od")
set(CMAKE_CXX_FLAGS_RELEASE "/MP")
# Set the stack reserve size to 10 MB
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:10485760")

# Because of we are catching CGAL exceptions in the loop, we need to enable this flag
if(MSVC)
Expand Down

0 comments on commit c65b305

Please sign in to comment.