[CMake] Xcode generator results in a project file without optimization

Gregor Jasny gjasny at googlemail.com
Wed May 11 03:05:26 EDT 2016


On 11/05/16 08:40, Siyuan Ren wrote:
> Attached are a minimal demonstration and a screenshot of what Xcode
> shows me when it opens the project.

This also works for me. In your Xcode project file also everything looks
normal (see GCC_OPTIMIZATION_LEVEL).

Could you please switch your Xcode Build Settings View from "Combined"
to "Levels"? I suspect you have an xcconfig file loaded via an
environment variable which shadows the build settings.

Thanks,
Gregor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-05-11 at 09.00.46.png
Type: image/png
Size: 224659 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160511/3c63e8fb/attachment-0001.png>


More information about the CMake mailing list