[CMake] Adding C(XX)FLAGS by using an environment variable?

Mike Jackson mike.jackson at imts.us
Wed Jul 2 11:43:18 EDT 2008


Huh.. I thought it actually made it look better. Beauty is in the  
eyes of the beholder. :-)

You might just want to put and OPTION(..) in your cmake file to  
toggle it on and off. Although each time you toggle the value  
everything is going to get rebuilt because the flags get changed.

Cheers.
-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Jul 2, 2008, at 11:39 AM, Mike Arthur wrote:

> On Wednesday 02 July 2008 16:24:25 you wrote:
>> What problems does having the -fmessage-length=0 flag in a
>> makefile cause?
> It makes the output ugly if you are building from the console.  
> Sounds like a
> lame reason I know!
>
> Really this is working around a limitation in Eclipse's CDT.
>
> -- 
> Cheers,
> Mike Arthur
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>




More information about the CMake mailing list