diff options
author | Brad King <brad.king@kitware.com> | 2024-10-04 14:25:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-10-04 14:26:23 (GMT) |
commit | d734f8dc6dec8834b94a77f06836e3c457ede3fc (patch) | |
tree | 5b580175458459d1a369be3ef7515bb3cdfdd3ce /Help | |
parent | 3b2b5ca09649d9045194e1bf0e5c2abe47027f91 (diff) | |
parent | 84db8506ffc38381dd2502be41879ffe03d8e8e9 (diff) | |
download | CMake-d734f8dc6dec8834b94a77f06836e3c457ede3fc.zip CMake-d734f8dc6dec8834b94a77f06836e3c457ede3fc.tar.gz CMake-d734f8dc6dec8834b94a77f06836e3c457ede3fc.tar.bz2 |
Merge topic 'deprecate-pre-3.10'
84db8506ff Deprecate compatibility with CMake versions older than 3.10
9e3b559b6a Tests: Update cmake_minimum_required versions to 3.10
f4aa34daa7 Tests/RunCMake: Update cmake_minimum_required versions to 3.10
1d38d52995 Tests/RunCMake: Match diagnostic line numbers more robustly
55778f5a16 ExternalProject: Enable all policies in internal scripts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9875
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/DEPRECATED_POLICY_VERSIONS.txt | 8 | ||||
-rw-r--r-- | Help/release/dev/deprecate-pre-3.10.rst | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Help/command/DEPRECATED_POLICY_VERSIONS.txt b/Help/command/DEPRECATED_POLICY_VERSIONS.txt index 7c68260..f5104d3 100644 --- a/Help/command/DEPRECATED_POLICY_VERSIONS.txt +++ b/Help/command/DEPRECATED_POLICY_VERSIONS.txt @@ -1,3 +1,11 @@ +.. versionchanged:: 3.31 + + Compatibility with versions of CMake older than 3.10 is deprecated. + Calls to :command:`cmake_minimum_required(VERSION)` or + :command:`cmake_policy(VERSION)` that do not specify at least + 3.10 as their policy version (optionally via ``...<max>``) + will produce a deprecation warning in CMake 3.31 and above. + .. versionchanged:: 3.27 Compatibility with versions of CMake older than 3.5 is deprecated. diff --git a/Help/release/dev/deprecate-pre-3.10.rst b/Help/release/dev/deprecate-pre-3.10.rst new file mode 100644 index 0000000..7689039 --- /dev/null +++ b/Help/release/dev/deprecate-pre-3.10.rst @@ -0,0 +1,7 @@ +deprecate-pre-3.10 +------------------ + +* Compatibility with versions of CMake older than 3.10 is now deprecated + and will be removed from a future version. Calls to + :command:`cmake_minimum_required` or :command:`cmake_policy` that set + the policy version to an older value now issue a deprecation diagnostic. |