[CMake] re-running cmake with different flags doesn't work

2008-07-25 Thread Andreas Pakulat
Hi, I've just noticed that re-running cmake and changing -DCMAKE_CXX_FLAGS doesn't work as one would expect. This claims to be rebuilding the makefiles, however after running a make clean and make VERBOSE=1 I don't see the flags being applied. To make this clear, what I'm doing is: cmake ../

Re: [CMake] re-running cmake with different flags doesn't work

2008-07-25 Thread Werner Smekal
Hi, if you change cmake settings it's always best to delete the build folder. So in your case: cmake ../ make rm -rf ../build/* cmake -DCMAKE_CXX_FLAGS=-g ../ make VERBOSE=1 should bring the desired results. Werner On 25.07.2008, at 10:29, Andreas Pakulat wrote: Hi, I've just noticed

Re: [CMake] re-running cmake with different flags doesn't work

2008-07-25 Thread Andreas Pakulat
On 25.07.08 13:02:06, Werner Smekal wrote: Hi, if you change cmake settings it's always best to delete the build folder. So in your case: cmake ../ make rm -rf ../build/* cmake -DCMAKE_CXX_FLAGS=-g ../ make VERBOSE=1 should bring the desired results. Of course, but thats not really

Re: [CMake] re-running cmake with different flags doesn't work

2008-07-25 Thread Brad King
Andreas Pakulat wrote: Hi, I've just noticed that re-running cmake and changing -DCMAKE_CXX_FLAGS doesn't work as one would expect. This claims to be rebuilding the makefiles, however after running a make clean and make VERBOSE=1 I don't see the flags being applied. To make this clear,

Re: [CMake] re-running cmake with different flags doesn't work

2008-07-25 Thread Andreas Pakulat
On 25.07.08 11:56:17, Brad King wrote: Andreas Pakulat wrote: I've just noticed that re-running cmake and changing -DCMAKE_CXX_FLAGS doesn't work as one would expect. This claims to be rebuilding the makefiles, however after running a make clean and make VERBOSE=1 I don't see the flags