On Feb 14, 2014, at 12:06 PM, Brad King <brad.k...@kitware.com> wrote:

> On 2/13/2014 7:35 PM, Steve Wilson wrote:
>> The topic name is ‘objective-c-support.’
> 
> Currently if CXX is enabled then .m sources get compiled as CXX.
> See Modules/CMakeCXXCompiler.cmake.in:
> 
> set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
> 
> In order to be compatible we need to make sure that is still
> the case.  However, if OBJC is enabled then that should be
> preferred to CXX for .m sources.  Is that the case with these
> changes?  Please add test cases to cover these combinations.


I just pushed the updated version of objective-c-support to stage.   It 
contains these requested changes as well as other additional tests/modules 
(such as CheckOBJCCompilerFlag).   It also includes a commit introducing 
support for Objective-C++.

SteveW

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to