[Cmake] Default optimisation settings in CMake for MSVC

William A. Hoffman bill.hoffman at kitware.com
Wed Oct 23 10:26:56 EDT 2002


Back when I started this, I had MSDEV create a project, and I copied the values
from there.   I figured MSDEV would do the right thing, and know the 
compiler better than
me.


-Bill

At 11:01 AM 10/23/2002 +0100, Ian Scott wrote:
>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.
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake






More information about the CMake mailing list