[CMake] 138% progress when building both all and not-in-all target?

Dan Kegel dank at kegel.com
Fri Jun 20 00:40:01 EDT 2014


Seen in the wild today:

[119%] Building CXX object
CMakeFiles/clownCar.dir/examples_noinst/clownCar.C.o *
...
[138%] Built target examples_noinst

And on another machine, the last report was

[144%] Built target plasmasimple

All were with CMake 2.8.10.2

I see from
http://www.cmake.org/pipermail/cmake/2007-June/014856.html
that this has happened in the past, and how it might happen.

In my case, it happened when I did
   make -j4 all examples_noinst

Is the simple act of building the special 'all' target and a
target that uses EXCLUDE_FROM_ALL enough to trigger this
strange behavior?  I haven't checked, but it's a tempting guess.
- Dan

* Not important to this report, but amusing


More information about the CMake mailing list