1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Merge topic 'doc-error-unknown-arg'

06d26c7baf Help: Add 3.20 release note for error on unknown arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6003
This commit is contained in:
Brad King
2021-04-15 15:07:22 +00:00
committed by Kitware Robot
2 changed files with 5 additions and 0 deletions

View File

@@ -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
==============================

View File

@@ -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.