[CMake] Re: setting other compile flag for 1 source file

2007-11-25 Thread Cees Wesseling
Hi, It seems that that is frequently requested feature for gcc but alas it is not implemented for gcc. Hence I am looking for another option to disable optimization op a per file level. Thanks, Cees Doesn't GCC have #pragma operators to control this from within the file? MSVC does.

Re: [CMake] Re: setting other compile flag for 1 source file

2007-11-25 Thread Brandon Van Every
On Nov 25, 2007 10:46 AM, Cees Wesseling [EMAIL PROTECTED] wrote: It seems that that is frequently requested feature for gcc but alas it is not implemented for gcc. Hence I am looking for another option to disable optimization op a per file level. I Googled the following about GCC and #pragma

Re: [CMake] Re: setting other compile flag for 1 source file

2007-11-25 Thread Jesper Eskilson
Cees Wesseling wrote: Hi, It seems that that is frequently requested feature for gcc but alas it is not implemented for gcc. Hence I am looking for another option to disable optimization op a per file level. To specify file-specific compiler flags, use set_source_file_properties: