[CMake] IMPLICIT_DEPENDS and removal of dependencies

James Bigler jamesbigler at gmail.com
Mon Jan 5 14:53:11 EST 2015


If I have a file that depended on another file (say file.cpp includes a.h
which includes b.h), and then I rename b.h to c.h is CMake able to detect
that b.h no longer exists on disk and remove the dependency from the
makefiles?

Right now the makefile still has a dependency to b.h which it cannot
resolve preventing compilation.  I've run a configure/generate step with
cmake, but dependencies to b.h persist.

I'm using CMake 3.0.2.

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150105/d21e94cd/attachment-0001.html>


More information about the CMake mailing list