[CMake] /STACK:10000000 being added to linker in Visual Studio?
David Cole
david.cole at kitware.com
Wed Jun 27 15:17:45 EDT 2012
You could do:
string(REPLACE "/STACK:10000000 " "" CMAKE_EXE_LINKER_FLAGS
"${CMAKE_EXE_LINKER_FLAGS}")
after the first project command in the top level CMakeLists file. (Or
"/STACK:some other number" to change it, instead of the empty string
to just remove it...)
The /STACK string only appears in the two files:
Modules/Platform/Windows-Intel.cmake
Modules/Platform/Windows-cl.cmake
HTH,
David
On Wed, Jun 27, 2012 at 3:11 PM, Robert Dailey <rcdailey.lists at gmail.com> wrote:
> This is added to every generated visual studio project from version 7.1 to
> 9. How can I tell CMake not to modify the stack size?
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list