On 03/19/2014 01:29 PM, Tim Blechmann wrote: > emulating old bugs is a nice thing, but then maybe the inconsistency between > xcode and make/ninja generators should be be documented or the xcode > generator should emulate wrong behavior to be consistent with make/ninja?
On second thought, since the Xcode generator already does this correctly I think it is better to just fix the inconsistency. I doubt anyone is intentionally depending on compiling .m sources with the C++ compiler. If it comes up we can add the CMake Policy for compatibility later. It looks like this was reported and "fixed" in 2008: http://www.cmake.org/Bug/view.php?id=7045 but the fix was not correct because the generators do not use the cmSystemTools::GetFileFormat hard-coded table anymore. I'll look at integrating the change. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers