Re: [PATCH] CMake: add compiler flags

2013-11-30 Thread Scott Kostyshak
On Sat, Nov 30, 2013 at 6:55 AM, Kornel Benko wrote: > Am Freitag, 29. November 2013 um 23:55:32, schrieb Scott Kostyshak > > >> On Fri, Nov 29, 2013 at 4:38 AM, Kornel Benko wrote: > >> > Am Freitag, 29. November 2013 um 01:39:33, schrieb Scott Kostyshak > >> > > >> > > >> >> How does one add

Re: [PATCH] CMake: add compiler flags

2013-11-30 Thread Kornel Benko
Am Freitag, 29. November 2013 um 23:55:32, schrieb Scott Kostyshak > On Fri, Nov 29, 2013 at 4:38 AM, Kornel Benko wrote: > > Am Freitag, 29. November 2013 um 01:39:33, schrieb Scott Kostyshak > > > > > >> How does one add compiler flags for the CMake version? Attached is a > > > >> patch that

Re: [PATCH] CMake: add compiler flags

2013-11-29 Thread Scott Kostyshak
On Fri, Nov 29, 2013 at 4:38 AM, Kornel Benko wrote: > Am Freitag, 29. November 2013 um 01:39:33, schrieb Scott Kostyshak > > >> How does one add compiler flags for the CMake version? Attached is a > >> patch that allows me to do the following: > >> > >> cmake -DCMAKE_CXX_FLAGS="-Werror" > > > >

Re: [PATCH] CMake: add compiler flags

2013-11-29 Thread Kornel Benko
Am Freitag, 29. November 2013 um 01:39:33, schrieb Scott Kostyshak > How does one add compiler flags for the CMake version? Attached is a > patch that allows me to do the following: > > cmake -DCMAKE_CXX_FLAGS="-Werror" I would not try to overwrite a variable 'CMAKE_...'. (Such vars should

[PATCH] CMake: add compiler flags

2013-11-28 Thread Scott Kostyshak
How does one add compiler flags for the CMake version? Attached is a patch that allows me to do the following: cmake -DCMAKE_CXX_FLAGS="-Werror" Is there a different way that is recommended? Scott From 8bb98a77d64dfc673a3082e309975034372bfd6f Mon Sep 17 00:00:00 2001 From: Scott Kostyshak D