[CMake] One target being built several times during parallel build

Denis Scherbakov denis_scherbakov at yahoo.com
Tue Jun 16 09:09:46 EDT 2009


I have a project with three executables:

E1 depends on lib A
E2 depends on lib A
E3 depends on lib A

First A must be built, then E1, E2 and E3.
I do "gmake -j9 E1 E2 E3" and I see that target "A" is being built 3? times
instead of just one. I also notice that progress counter goes past 100%.

So my question: Am I hitting some kind of a bug, or this use is not foreseen?

Denis


      


More information about the CMake mailing list