summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-14 15:43:46 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-14 15:46:05 (GMT)
commit06d26c7baf4bd69a62efee3eb74bb9eb622af510 (patch)
tree0828a0829448f57548eaddbdfc05077b118a5235 /Help
parentb4a29a8d42e584e43c3c93e627cb22da9f9e0c49 (diff)
downloadCMake-06d26c7baf4bd69a62efee3eb74bb9eb622af510.zip
CMake-06d26c7baf4bd69a62efee3eb74bb9eb622af510.tar.gz
CMake-06d26c7baf4bd69a62efee3eb74bb9eb622af510.tar.bz2
Help: Add 3.20 release note for error on unknown arguments
This was left out of commit 1b6c5333a0 (cmake: Error out on unknown arguments starting with `-`., 2020-11-30, v3.20.0-rc1~370^2). Fixes: #22060
Diffstat (limited to 'Help')
-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.