cmake problem: dependencies are not updated until make is re-run

David Faure faure at kde.org
Tue May 23 20:40:26 CEST 2006


On Tuesday 23 May 2006 16:06, Brad King wrote:
> I just created a small project, built it, renamed a header, and built 
> again and it worked.  There is something else going on here.

Doh. I think I know the cause. I was experimenting with -DCMAKE_SKIP_RULE_DEPENDENCY=TRUE
to get a behavior more like the previous buildsystem, where editing build system files (CMakeLists.txt for cmake)
doesn't necessarily trigger a recompilation (but of course when changing e.g. definitions one must
then make clean). Since I couldn't reproduce the problem on the other machine, which doesn't
use -DCMAKE_SKIP_RULE_DEPENDENCY=TRUE, I think it was the cause for this. My fault then, sorry.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list