[cmake-developers] [CMake 0016136]: cmake --build can not build several targets

Mantis Bug Tracker mantis at public.kitware.com
Mon Jun 6 08:29:31 EDT 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=16136 
====================================================================== 
Reported By:                Tobias Hunger
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16136
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-06-06 08:29 EDT
Last Modified:              2016-06-06 08:29 EDT
====================================================================== 
Summary:                    cmake --build can not build several targets
Description: 
I am using cmake --build in Qt Creator now and got feedback that all but the
last target passed to cmake --build . --target a --target b are ignored.

It would be really convenient to be able to build more than one target in one go
using cmake --build.

Steps to Reproduce: 
1) Generate any cmake project with two targets defined called A and B.
2) try to build both targets at once using cmake --build . --target A --target B
3) Watch as only target B is built.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-06-06 08:29 Tobias Hunger  New Issue                                    
======================================================================



More information about the cmake-developers mailing list