diff options
author | friendlyanon <friendlyanon_@hotmail.com> | 2022-11-11 15:15:30 (GMT) |
---|---|---|
committer | friendlyanon <friendlyanon_@hotmail.com> | 2022-11-11 21:49:36 (GMT) |
commit | 59573bf5b9afb2157c73b18dd189a0927dafee52 (patch) | |
tree | a51943c3be8f4430a314560e5afba145013b28a3 /Help/release | |
parent | 23f3dd9f7c87bbf02685f388cb3913a8878e4f3b (diff) | |
download | CMake-59573bf5b9afb2157c73b18dd189a0927dafee52.zip CMake-59573bf5b9afb2157c73b18dd189a0927dafee52.tar.gz CMake-59573bf5b9afb2157c73b18dd189a0927dafee52.tar.bz2 |
project: Warn at top-level if `cmake_minimum_required` wasn't called
The top-level project() call will now issue an AUTHOR_WARNING if it
wasn't called after cmake_minimum_required().
Fixes: #24071
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/top-level-command-order.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/top-level-command-order.rst b/Help/release/dev/top-level-command-order.rst new file mode 100644 index 0000000..07f87fb --- /dev/null +++ b/Help/release/dev/top-level-command-order.rst @@ -0,0 +1,6 @@ +top-level-command-order +----------------------- + +* The top-level :command:`project` call will now emit an author warning if the + documented command order in relation to :command:`cmake_minimum_required` is + not respected. |