|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016136||CMake||CMake||public||2016-06-06 08:29||2016-06-10 14:31|
|Assigned To||Kitware Robot|
|Platform||Linux, Windows, Mac||OS||Linux, Windows, Mac||OS Version|
|Product Version||CMake 3.5.2|
|Target Version||Fixed in Version|
|Summary||0016136: 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.
|Tags||No tags attached.|
Brad King (manager)
One of the changes in 3.6:
is that --build now rejects extra --target options instead of silently ignoring them. That is at least better than the old behavior. Actually accepting multiple --target options may require more work because we need to figure out the proper command lines for each native build tool. Some investigation will be needed to see if MSBuild even supports it, though I guess we could fall back to multiple invocations internally.
Kitware Robot (administrator)
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.
|2016-06-06 08:29||Tobias Hunger||New Issue|
|2016-06-06 08:50||Brad King||Note Added: 0041137|
|2016-06-10 14:29||Kitware Robot||Note Added: 0043009|
|2016-06-10 14:29||Kitware Robot||Status||new => resolved|
|2016-06-10 14:29||Kitware Robot||Resolution||open => moved|
|2016-06-10 14:29||Kitware Robot||Assigned To||=> Kitware Robot|
|2016-06-10 14:31||Kitware Robot||Status||resolved => closed|
|Copyright © 2000 - 2018 MantisBT Team|