[CMake] Compiler flags for Obj-C++ files only

Allan Odgaard jovxhr102 at sneakemail.com
Wed May 21 15:08:40 EDT 2008

I need to set a compiler flag for Obj-C++ files (-fobjc-call-cxx- 

Setting it for C++ will give a warning from gcc when the source file  
type is C++ (instead of Obj-C++).

Is there any way to set flags for only Obj-C++ files?

More information about the CMake mailing list