[CMake] Objective-C support

Sean McBride sean at rogue-research.com
Tue Aug 6 09:34:24 EDT 2013


On Tue, 6 Aug 2013 12:05:35 +0200, Emmanuel Blot said:

>What is the recommended way to specify compiler flags for Objective-C
>source files?
>
>Objective-C is not defined as a specific language in the default CMake
>modules (vs. C and C++ for exemple), so CMake does not seem to handle
>OBJC flags at all.
>
>How to define OBJCFLAGS for a whole project, in such a way that those
>flags are only applied to .m source files, not the other source files
>(.c, .cxx, etc.)?

There might be some useful info for you here:
<http://public.kitware.com/Bug/view.php?id=4756>

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list