summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-15 15:07:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-15 15:07:33 (GMT)
commit81d796e3f2f1080cc5f3c621a13858bf2c99ffb9 (patch)
tree0828a0829448f57548eaddbdfc05077b118a5235
parentb4a29a8d42e584e43c3c93e627cb22da9f9e0c49 (diff)
parent06d26c7baf4bd69a62efee3eb74bb9eb622af510 (diff)
downloadCMake-81d796e3f2f1080cc5f3c621a13858bf2c99ffb9.zip
CMake-81d796e3f2f1080cc5f3c621a13858bf2c99ffb9.tar.gz
CMake-81d796e3f2f1080cc5f3c621a13858bf2c99ffb9.tar.bz2
Merge topic 'doc-error-unknown-arg' into release-3.20
06d26c7baf Help: Add 3.20 release note for error on unknown arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6003
-rw-r--r--Help/manual/cmake.1.rst1
-rw-r--r--Help/release/3.20.rst4
2 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 157ea5f..02828ac 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -105,6 +105,7 @@ Generator
is already configured in the shell. When using one of the
:ref:`IDE Build Tool Generators`, no particular environment is needed.
+.. _`Generate a Project Buildsystem`:
Generate a Project Buildsystem
==============================
diff --git a/Help/release/3.20.rst b/Help/release/3.20.rst
index e452926..86c6a86 100644
--- a/Help/release/3.20.rst
+++ b/Help/release/3.20.rst
@@ -298,6 +298,10 @@ Deprecated and Removed Features
Other Changes
=============
+* When running :manual:`cmake(1)` to :ref:`Generate a Project Buildsystem`,
+ unknown command-line arguments starting with a hyphen (``-``) are now
+ rejected with an error. Previously they were silently ignored.
+
* Source file extensions must now be explicit.
See policy :policy:`CMP0115` for details.