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

Brandon Van Every bvanevery at gmail.com
Sun Nov 25 12:22:49 EST 2007


On Nov 25, 2007 10:46 AM, Cees Wesseling <cwesseling at esri.com> 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
http://gcc.gnu.org/onlinedocs/gcc/Pragmas.html
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
do these help?


Cheers,
Brandon Van Every


More information about the CMake mailing list