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. > > Cheers, > Brandon Van Every >> On Nov 18, 2007 10:32 AM, Cees Wesseling <cwesseling at esri.com <http://www.cmake.org/mailman/listinfo/cmake> > wrote: >> Hi, >> >> On a large project I am running into a possible optimization bug in gcc. >> I nailed the problem down to 1 source file. To bypass the problem I want >> to compile the offending source file, with no optimization instead of >> the default settings for release mode. >> >> Is there already a mechanism for that in cmake that I can't find or do I >> just have to build a custom rule for that file? >> >> Any hints how to do this most efficiently are appreciated. >> >> Thanks, Cees
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
