[CMake] Regarding option for regenerating CMakeCache everytime we do cmake

2014-03-24 Thread Devyani Godbole
Hi , I am getting a problem wherein the if I add the flag say -DWITH_DATE=1 and do a cmake I get it enabled. But now if I do not use this flag and again do cmake , it still remains DEFINED i.e. it is still present in CMakeCache. I do not want it to be DEFINED if I have not specified it in cmake

Re: [CMake] Regarding option for regenerating CMakeCache everytime we do cmake

2014-03-24 Thread Nils Gladitz
On 03/24/2014 11:01 AM, Devyani Godbole wrote: Hi , I am getting a problem wherein the if I add the flag say -DWITH_DATE=1 and do a cmake I get it enabled. But now if I do not use this flag and again do cmake , it still remains DEFINED i.e. it is still present in CMakeCache. I do not want it to

Re: [CMake] Regarding option for regenerating CMakeCache everytime we do cmake

2014-03-24 Thread Marcel Loose
On 24/03/14 11:01, Devyani Godbole wrote: Hi , I am getting a problem wherein the if I add the flag say -DWITH_DATE=1 and do a cmake I get it enabled. But now if I do not use this flag and again do cmake , it still remains DEFINED i.e. it is still present in CMakeCache. I do not want it to