[CMake] Build several targets using cmake --build <dir>

John Drescher drescherjm at gmail.com
Thu Mar 14 14:07:36 EDT 2013


> I use cmake 2.8.10 on windows.
>
>
>
> I would like to build several targets with cmake --build <dir> so  the
> underlying build tool to do parallel jobs.
>
>
>
> Currently it only seems to be possible to build one target at a time, using
> --target .
> (http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:--builddir)
>
>
>
> Can someone tell me how I could achieve that with current cmake version?
>
>
I execute more than 1 cmake --build at the same time on windows. I
actually do this in a program called runjobs

http://www.codeproject.com/Articles/25810/Run-All-Jobs-at-Once-Utility

John


More information about the CMake mailing list