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

2008-05-21 Thread Bill Hoffman
Alan W. Irwin wrote: On 2008-05-21 21:08+0200 Allan Odgaard wrote: 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++

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

2008-05-21 Thread Alan W. Irwin
On 2008-05-21 21:08+0200 Allan Odgaard wrote: 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? Shouldn't Obj

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

2008-05-21 Thread Allan Odgaard
On 21 May 2008, at 21:52, Bill Hoffman bill.hoffman-at-kitware.com | CMake| wrote: E. Wing wrote: I believe the answer is no. I think Sean McBride and I brought this up before and agree with you that we need a case like this. The bug is filed here: http://public.kitware.com/Bug/view.php?id=4

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

2008-05-21 Thread Bill Hoffman
E. Wing wrote: I believe the answer is no. I think Sean McBride and I brought this up before and agree with you that we need a case like this. The bug is filed here: http://public.kitware.com/Bug/view.php?id=4756 Please feel free to add additional information (or submit a patch :)) On 5/21/08,

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

2008-05-21 Thread clinton
On Wednesday 21 May 2008 1:08:40 pm Allan Odgaard wrote: > 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++ fil

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

2008-05-21 Thread E. Wing
I believe the answer is no. I think Sean McBride and I brought this up before and agree with you that we need a case like this. The bug is filed here: http://public.kitware.com/Bug/view.php?id=4756 Please feel free to add additional information (or submit a patch :)) On 5/21/08, Allan Odgaard <[

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

2008-05-21 Thread Allan Odgaard
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? ___ CMake maili