[CMake] re-running cmake with different flags doesn't work
Andreas Pakulat
apaku at gmx.de
Fri Jul 25 07:49:32 EDT 2008
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 good IMHO. I think re-running cmake with
different flags in a configured builddir should have the same effect as
editing the cache (which works alright).
Andreas
--
You'll be called to a post requiring ability in handling groups of people.
More information about the CMake
mailing list