On 9/20/2012 7:42 PM, Loaden wrote:
As I know, qmake support /MP on command line builds after set ENV
CL=/MP, and nmake can do parallel builds.
Follow the MS docs:
cl a.cpp b.cpp c.cpp /MP should works well on command line.
Seems CMake does not implements this.
So, can I request a feature for this?
I suppose you can put a request in but I don't think we have the cycles to do it as it is a difficult problem to solve. If you really need it you could either implement it yourself (warning it will not be trivial), or you can hire Kitware to implement it. However, there are several good options for parallel command line windows builds:

- use jom instead of nmake (it is a drop in replacement)
- use the new ninja generator
- use the Visual studio generator with /MP and then use msbuild or cmake --build from the command line.

-Bill

--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
[email protected]
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

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

Reply via email to