[Cmake] Default optimisation settings in CMake for MSVC

Ian Scott ian.m.scott at stud.man.ac.uk
Wed Oct 23 06:01:39 EDT 2002


Is there a reason why the default settings on CMake Release and
RelwithDebInfo have the inline function expansion setting at  "Only
__inline"  rather than "Any Suitable /Ob2"

I know I can change it on my own machine, and I know the current setting
gives more control to the code author, but surely the optimiser is better at
making these decisions that most humans are?

Ian.





More information about the CMake mailing list