Hello, Thanks for your replies. I understand that I can only 'cmake --build' one target at a time. I think that the solutions you propose do not benefit from tools, like ninja, that have parallel build capabilities.
I'll file a feature request. Regards, Greg -----Original Message----- From: Nick Overdijk [mailto:n...@astrant.net] Sent: jeudi 14 mars 2013 19:10 To: John Drescher Cc: Gregoire Aujay; cmake@cmake.org Subject: Re: [CMake] Build several targets using cmake --build <dir> You can only 'cmake' a single-target. If you want to have more targets, create more directories: for each target one. On 2013-14-03, at 19:07:36 , John Drescher wrote: >> 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 > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake