[CMake] External projects and make clean

David Cole david.cole at kitware.com
Tue Feb 21 10:27:18 EST 2012


On Tue, Feb 21, 2012 at 9:47 AM, Oliver Boesche <boesche at building21.de>wrote:

> Hi,
>
> thanks. Its a tricky solution ;)
>
> I think this behavior as a flag for ExternalProject_Add could be
> interesting for some people.
>
> Regards
> Oliver
>
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>


A much simpler way to clean just the inner project, and not all the
ExternalProject dependencies is to cd down into the inner build's directory
and do the "make clean" in there.

"make clean" at the top level should clean according to the ExternalProject
stamp files.

You can clean the individual projects if necessary by going down into their
respective "inner build" directories.


HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120221/08d1d5e1/attachment.htm>


More information about the CMake mailing list