Skip to content
  • David Cole's avatar
    CMake: Remove "/STACK:10000000" from default linker flags (#12437) · 51af1da3
    David Cole authored
    Modern apps that use multiple threads do NOT want 10 Megabytes of RAM
    per thread being used for each thread's stack... Just leave off the
    /STACK: argument, and let the compiler use a reasonable default value
    for the stack size.
    
    If existing single-threaded apps require the /STACK: argument because
    they do need a very large stack size, they can add the flag in their
    own CMakeLists files.
    51af1da3