[CMake] dependlocal problem
Brad King
brad.king at kitware.com
Wed Feb 23 09:23:10 EST 2005
Alexander Neundorf wrote:
> I'm trying to build kdevelop with cmake and wrote some new macros. Now I
> see the following: when starting make in the kdevelop root directory, it
> traverses and builds as expected, but it seems for dependlocal it starts
> make for every file. Is this expected behaviour ?
> The result you see below, this takes quite long (more than 1 minute just
> the dependlocal) on a fast machine (2GHz).
>
> make[7]: Entering directory `/home/src/kde3-HEAD/kdevelop_3_3_branch/tmo/
> kdevelop/lib/widgets/propeditor'
> Building dependencies. cmake.depends...
> /usr/local/bin/cmake -S/home/src/kde3-HEAD/kdevelop_3_3_branch/tmo/
> kdevelop/lib/widgets/propeditor -O/home/src/kde3-HEAD/
> kdevelop_3_3_branch/tmo/kdevelop/lib/widgets/propeditor -H/home/src/
> kde3-HEAD/kdevelop_3_3_branch/tmo/kdevelop -B/home/src/kde3-HEAD/
> kdevelop_3_3_branch/tmo/kdevelop
> make[7]: Leaving directory `/home/src/kde3-HEAD/kdevelop_3_3_branch/tmo/
> kdevelop/lib/widgets/propeditor'
> make cmake.check_depends
You can run make like this to try to identify why all the extra makes
are being run:
make -d -r VERBOSE=1 >make.log 2>&1
Make should print out very verbose output about what dependencies it is
evaluating and why it is running each rule.
-Brad
More information about the CMake
mailing list