On 01/20/2015 07:10 AM, Yves Frederix wrote:
>>  msbuild ALL_BUILD.vcxproj /p:Configuration=Release 
>> /p:VisualStudioVersion=12.0
> (shouldn't this have been VisualStudioVersion=11.0?)

Yes, but I was testing with VS 2013.

> When keeping an eye on the resource monitor, I can also see that,
> while "cmake --build ." makes use of all the CPU cores (for 2.8.12) ,
> this is not the case while running msbuild manually.

Through 2.8.12.2 the "cmake --build" mode would read the output of
the build and write it again to its own output pipes.  When there
is a lot of output this can probably take some CPU.  There was
an option "--use-stderr" to change to share the pipes so that
they pass through directly to the terminal.  3.0 and above always
do this and the "--use-stderr" option is ignored, so it should not
have that problem.

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to