cmake: reducing unnecessary rebuilds

David Faure faure at kde.org
Tue Mar 21 19:55:47 CET 2006


On Tuesday 21 March 2006 19:50, Brad King wrote:
> David Faure wrote:
> > On Thursday 23 February 2006 15:57, Brad King wrote:
> >>With VERBOSE makefiles or by running "make VERBOSE=1" CMake prints 
> >>information about what the dependency scanning is doing.  The output 
> >>looks like
> >>
> >>Dependee "/some/header.h" is newer than depender "some/object.o"
> > 
> > make VERBOSE=1 doesn't show such information for me (even after unaliasing "make", i.e. using /usr/bin/make)
> 
> CMake checks for the environment variable "VERBOSE" to enable this 
> output.  Perhaps your make is not setting the make variables as 
> environment variables (?). 

That's right, make VERBOSE=1 sets a make variable, not an env var.

> VERBOSE=1 make

Works much better. Thanks!

-- 
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