On 2008-02-25 11:53+0100 BlinkEye wrote:
On Mon, February 25, 2008 11:11, dizzy wrote:
That looks fairly unportable (how do you make sure your compiler supports
those flags? if it doesn't it won't compile at all which is not probably what
you want since you are using cmake I supose you want it
On Monday 25 February 2008, dizzy wrote:
> On Sunday 24 February 2008 23:22:58 blinkeye wrote:
> > >> On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Hi, I'm quite new with cmake and I can't figure out how to enable
> > >> warnings for the generated makefiles/projects. For i
On Mon, February 25, 2008 11:11, dizzy wrote:
> On Sunday 24 February 2008 23:22:58 blinkeye wrote:
>> >> On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi, I'm quite new with cmake and I can't figure out how to enable
>> >> warnings for the generated makefiles/projects. For
On Sunday 24 February 2008 23:22:58 blinkeye wrote:
> >> On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi, I'm quite new with cmake and I can't figure out how to enable
> >> warnings for the generated makefiles/projects. For instance, I would
> >> like to use the -Wall flag wi
>> On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote:
Hi, I'm quite new with cmake and I can't figure out how to enable
warnings for the generated makefiles/projects. For instance, I would
like to use the -Wall flag with gcc.
like that for example:
set( CMAKE_C_FLAGS "-fstack-protecto
In ccmake or CMakeSetup, add the flag to either CMAKE_C_FLAGS or
CMAKE_CXX_FLAGS.
-Eric
On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote:
> Hi, I'm quite new with cmake and I can't figure out how to enable
> warnings for the generated makefiles/projects. For instance, I would
> like to us
Hi, I'm quite new with cmake and I can't figure out how to enable
warnings for the generated makefiles/projects. For instance, I would
like to use the -Wall flag with gcc.
--
//*David Sveningsson [eXt]*
Freelance coder | Game Development Student
http://sidvind.com
Thou shalt make thy progra