There is an easy way to avoid the problem - build in a separate directory.
Separating sources is a very good practice.
Anka


Philip Lowman wrote:
On Mon, Mar 24, 2008 at 4:51 AM, Ákos Maróy <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi,

    I wonder if there's an easy, straightforward way to clean a cmake
    project of _all_ cmake-generated files? This would include:

    CMakeCache.txt
    cmake_install.cmake
    CMakeFiles

    and all of these in subdirectories added to the project with the
    add_subdirectory() statement..


I've filed a feature request for this (i.e. a "distclean" target for CMake). It keeps coming up on the mailing list so it probably would make a nice addition to CMake. I've needed it before too when stubborn coworkers really want to keep using in-source build trees but want to return their source trees to a pristine state.

http://public.kitware.com/Bug/view.php?id=6647

--
Philip Lowman
------------------------------------------------------------------------

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to