[Cmake] why does clean depend on external targets?

Brad King brad.king at kitware.com
Thu Sep 9 09:35:26 EDT 2004


Jan Woetzel wrote:
> 
> Hi,
> my cmake project MIP depend on a second cmake project BIAS through 
> "BIASConfig.cmake" using the CMakeImportBuildSettings.cmake macro.
> This is correct for compiling.
> 
> But the problem is that the clean target of MIP also depends on BIAS 
> through "cmake.depends".
> The result is that I cannot clean MIP if BIAS has been removed.
> 
> (1) How can I separate dependencies from a 'clean' target ?

I suspect this is a bug.  Please report it here:

http://www.cmake.org/Bug

Thanks,
-Brad


More information about the Cmake mailing list