[CMake] failing target

Andrea Crotti andrea.crotti.0 at gmail.com
Tue Mar 6 11:14:46 EST 2012


On 03/06/2012 03:29 PM, David Cole wrote:
> On Tue, Mar 6, 2012 at 10:24 AM, Andrea Crotti
>
>
> The explanation is simple: if you have two targets and they run in
> *random* order, then it will be "correct" 50% of the time... Or
> perhaps 100% on one platform and 0% on another. That's likely what you
> were seeing when you thought that it worked sometimes.
>
> With the dependencies specified correctly with add_dependencies, you
> should now see it work 100% of the time.

Very good thanks, now I'm satisfied ;)
the problem was appearing in fact when I was trying to run in parallel, 
which explains everything..


More information about the CMake mailing list