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

Mike Arthur mike at mikearthur.co.uk
Wed Jul 2 13:22:52 EDT 2008


On Wednesday 02 July 2008 16:43:18 you wrote:
> Huh.. I thought it actually made it look better. Beauty is in the
> eyes of the beholder. :-)
I guess my eyes are just better looking then ;)

> 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.
I'm a fussy sod. Basically I want to be able to run make in Eclipse and have 
it build fine but when I go to the directory in a console be able to build it 
and get the same nice output as I currently do without that flag.

-- 
Cheers,
Mike Arthur


More information about the CMake mailing list