Re: [CMake] Change variable default

2011-04-28 Thread Ilja Golshtein
to when cmake starts up. So if you check against that, you will see if > the user has modified it. > > Tim > > - Original Message - > From: "Ilja Golshtein" ; > To: gtg0...@mail.gatech.edu > Cc: cmake@cmake.org > Sent: Thursday, April 28, 2011 12:42:40 P

Re: [CMake] Change variable default

2011-04-28 Thread Ilja Golshtein
nged by the user, or > specified on the cmake/ccmake line with -D), leave them alone. > > Tim > > - Original Message ----- > From: "Ilja Golshtein" ; > To: cmake@cmake.org > Sent: Thursday, April 28, 2011 9:03:43 AM > Subject: [CMake] Change variable default > &g

Re: [CMake] Change variable default

2011-04-28 Thread Tim Gallagher
*_INIT are the default values that it gets set to when cmake starts up. So if you check against that, you will see if the user has modified it. Tim - Original Message - From: "Ilja Golshtein" To: gtg0...@mail.gatech.edu Cc: cmake@cmake.org Sent: Thursday, April 28, 2011 12:4

Re: [CMake] Change variable default

2011-04-28 Thread Yuri Timenkov
ged by the user, or > specified on the cmake/ccmake line with -D), leave them alone. > > Tim > > - Original Message - > From: "Ilja Golshtein" > To: cmake@cmake.org > Sent: Thursday, April 28, 2011 9:03:43 AM > Subject: [CMake] Change variable default &

Re: [CMake] Change variable default

2011-04-28 Thread Tim Gallagher
ser, or specified on the cmake/ccmake line with -D), leave them alone. Tim - Original Message - From: "Ilja Golshtein" To: cmake@cmake.org Sent: Thursday, April 28, 2011 9:03:43 AM Subject: [CMake] Change variable default Hello! There are some CMAKE variabl

[CMake] Change variable default

2011-04-28 Thread Ilja Golshtein
Hello! There are some CMAKE variables with default values. For example CMAKE_CXX_FLAGS_DEBUG default value is '-g'. How is it possible to make it '-g -Wall'? What I don't want to have: User choice overwritten. What I want to have: Modified a variable cmake-time default. It must be possible to