MantisBT - CMake
View Issue Details
0014014CMakeCMakepublic2013-03-15 05:032016-06-10 14:31
Gregoire 
Kitware Robot 
normalfeaturealways
closedmoved 
CMake 2.8.10.2 
 
0014014: Add possibility to build several target simultaneously with 'cmake --build <dir> '
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.
Doc is here: http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:--builddir [^]
No tags attached.
Issue History
2013-03-15 05:03GregoireNew Issue
2016-02-03 06:39Sebastian SchuberthNote Added: 0040429
2016-06-10 14:28Kitware RobotNote Added: 0042248
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0040429)
Sebastian Schuberth   
2016-02-03 06:39   
Also, it's misleading that the docs for "--target" say "Build <tgt> instead of default targets". As "default targets" is plural one could think it's also possible to specify non-default target*s* by passing in the "--target" option multiple times. Even worse, if you do so, all but the target specified last will get built, all others get silently ignored.
(0042248)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.