2008/11/26 Steven Van Ingelgem <[EMAIL PROTECTED]>:
> Hi Eric,
>
>
> That's pretty bad as well, because if I change 1 small cpp file, I will be
> rebuilding everything... Not very nice :).
> I always run "cmake .", but is it possible to do for example:
>
> ------
> mkdir static_release
> cd static_release
> cmake ..

As already told by others it is indeed possible.
For systematic testing & build I usually delete the whole build dir.
However assuming you have a separate build dir for each build variant
you may either:

  a) only rerun cmake & build
    which should lead to a minimal rebuild

  b) only delete the CMakeCache.txt which will do a whole CMake rerun
    but potentially (depending on what you do with CMake)  a minimal build

using a) or b) should be safe **most of the time** and will save you
most of the build time.

a) may be unsafe in certain cases

-- 
Erk
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to