[CMake] Disable buffer security check in visual studio /GS-

John Drescher drescherjm at gmail.com
Wed Apr 20 12:55:49 EDT 2011


After profiling my Visual Studio 2005 application I see that over 5%
of the execution time in the Release build was spent doing buffer
security checks. I found the following link for CMake support

http://www.cmake.org/pipermail/cmake-commits/2008-March/003844.html

however I do not understand what that buys me. There is no option that
I can see in cmake-gui for disabling buffer security checks. I would
expect I could add my own option for my application  but that would
not help itk or vtk.

Thanks,
John M. Drescher


More information about the CMake mailing list