I need to set a compiler flag for Obj-C++ files (-fobjc-call-cxx- cdtors). 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?