[CMake] cmake - preventing `make clean` from cleaning ExternalProject.

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jun 8 15:42:56 EDT 2011


On Tuesday 07 June 2011, Alexander Neundorf wrote:
> On Tuesday, June 07, 2011 04:41:03 AM jeeyoung kim wrote:
> > I was wondering if there's some way to prevent make clean in cmake from
> > re-building external dependencies. I'm using ExternalProject to build
> > third party c++ libraries, and they do not have to be rebuilt even if I
> > do make clean.
> > 
> > On the other hand, I might want to create a new rule, say, make
> > really-clean, which even clears the dependencies. is there a good way to
> > do this?
> 
> That really sounds like a useful thing.
> Same thing for me.
> Since I have only a few targets in my projects, it is still possible to
> simply make clean in the other directories.
> 
> I am not aware of a way to exclude the external projects from the normal
> clean. But this sounds like something useful.

So, can you please create an entry in the cmake bug tracker at 
http://www.cmake.org/Bug ?

Thanks
Alex


More information about the CMake mailing list