497cad7c88
Previously we did not clearly document that `--target` is only supported to be specified once. Even worse, specifying it multiple times would silently ignore any previously specified targets and only build the last target. Update the documentation to specify this. Update the implementation to reject multiple `--target` options to prevent user errors.
7 lines
213 B
ReStructuredText
7 lines
213 B
ReStructuredText
error-multiple-targets
|
|
----------------------
|
|
|
|
* The :manual:`cmake(1)` ``--build`` command-line tool now rejects multiple
|
|
``--target`` options with an error instead of silently ignoring all but the
|
|
last one.
|