[cmake-developers] Crash bug in XCode generator (2.8.3, 2.8.4-rc1, master)

Johan Björk phb at spotify.com
Thu Jan 27 04:25:39 EST 2011


Hi everyone,

If you specify a CMAKE_TOOLCHAIN_FILE without setting
CMAKE_OSX_ARCHITECTURES, you get a crash in
cmGlobalXCodeGenerator.cxx:2685.
It was a user-error on my behalf (my toolchain file was only intended
to be used on Makefile generators), but it's nice if we don't crash.

Patch against CMake master  attached.

/Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xcode_generator_crash.patch
Type: application/octet-stream
Size: 517 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20110127/30755110/attachment-0002.obj>


More information about the cmake-developers mailing list