[cmake-developers] [patch] treat .m files as c, not c++

Steve Wilson stevew at wolfram.com
Thu Mar 20 11:38:45 EDT 2014


Took me a bit longer than I expected, but you can find the 'objective-c-support' topic at:

https://github.com/swwilso1/CMake.git


On Mar 19, 2014, at 11:55 AM, Steve Wilson <stevew at wolfram.com> wrote:

> On Mar 19, 2014, at 11:09 AM, Brad King <brad.king at kitware.com> wrote:
> 
>> On 03/19/2014 12:50 PM, Tim Blechmann wrote:
>>> obj-c is a superset of c, while obj-c++ is a superset of obj-c
>>> 
>>> this patch corrects this behavior.
>> 
>> The incorrect behavior is left from the earliest days of CMake.
>> Fixing this outright will change existing build behavior.  We
>> would have to do this with a CMake Policy.  However, Steve Wilson
>> is working on first-class Objective C and Objective C++ support:
>> 
>> http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/9371
>> 
>> That will resolve this in a compatible way by allowing projects
>> to enable OBJC and/or OBJCXX languages to get .m and .mm sources
>> compiled properly.
>> 
>> Steve, do you have the work-in-progress topic published somewhere?
> 
> Not at the moment, but I’ll work on making the topic available on github before the end of the day.
> -- 
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140320/60e6ee95/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140320/60e6ee95/attachment-0002.sig>


More information about the cmake-developers mailing list