cmake problem: dependencies are not updated until make is re-run
David Faure
faure at kde.org
Mon May 22 10:34:10 CEST 2006
I have seen this problem multiple times, but I'm not sure something can be done about it...
Basically the first time "make" is run, if it triggers a cmake run, then the new dependencies
are not taken into account. They are only when running make again.
Example: branches/work/kdelibs4_snapshot was just updated with 2 weeks worth
of trunk/KDE/kdelibs changes, including the renaming of the ksortablevaluelist.h header. Typing make gave:
make[2]: *** No rule to make target `/d/kde/src/4/kdelibs4_snapshot/kdecore/ksortablevaluelist.h', needed by `kdeui/tests/CMakeFiles/kcomboboxtest.dir/kcomboboxtest.o'. Stop.
Typing make again gave:
[...]
Dependee "/d/kde/src/4/kdelibs4_snapshot/kdecore/ksortablevaluelist.h" does not exist for depender "kdeui/tests/CMakeFiles/kcompletiontest.dir/kcompletioncoretest.o".
[...]
and this time there was no problem.
Is this a problem like "make launches cmake which regenerates makefiles but then make
doesn't use the new makefiles"? iirc there are solutions to this problem in general but I forgot
which, I think coolo knows more.
--
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