[cmake-developers] [CMake 0014145]: CMake generated solutions don't build projects in parallel.

Mantis Bug Tracker mantis at public.kitware.com
Wed May 15 21:50:42 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14145 
====================================================================== 
Reported By:                Ho Cheung
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14145
Category:                   (No Category)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-05-15 21:50 EDT
Last Modified:              2013-05-15 21:50 EDT
====================================================================== 
Summary:                    CMake generated solutions don't build projects in
parallel.
Description: 
The project-level parallelism available via the Tools -> Options -> Projects and
Solutions -> Build And Run appears to be non-functional. The output window will
show the solution being build sequentially one project at a time despite no
dependencies between many projects. Task manager shows many MSBuild.exe
processes but only 1 cl.exe going.

This is especially annoying when building projects with hundreds of target like
ITK with tests on. It will literally take 3 hours on a very fast 12-thread
machine whereas the same compile under gcc will be done in under 15 minutes.


Steps to Reproduce: 
Run CMake on ITK source with default settings.

Click on Build -> Batch Build -> Select ALL_BUILD for any configuration you want
(or all of them, it makes no difference) -> Build.

Observe that only 1 project is being build at a time.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-05-15 21:50 Ho Cheung      New Issue                                    
======================================================================




More information about the cmake-developers mailing list