diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-07-24 20:59:28 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-07-25 15:09:56 (GMT) |
commit | ff12a57d5e459fac4cf2b11f90a681bc165c4a42 (patch) | |
tree | 51667de8b7d56a7e7477bc7a738d963a30a38310 /Help | |
parent | 89a692aa18d0d1f80c131fdc3eba34fea195f00a (diff) | |
download | CMake-ff12a57d5e459fac4cf2b11f90a681bc165c4a42.zip CMake-ff12a57d5e459fac4cf2b11f90a681bc165c4a42.tar.gz CMake-ff12a57d5e459fac4cf2b11f90a681bc165c4a42.tar.bz2 |
exec_program(): Remove by policy CMP0153
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/exec_program.rst | 4 | ||||
-rw-r--r-- | Help/manual/cmake-policies.7.rst | 1 | ||||
-rw-r--r-- | Help/policy/CMP0153.rst | 12 | ||||
-rw-r--r-- | Help/release/dev/exec_program-policy.rst | 6 |
4 files changed, 23 insertions, 0 deletions
diff --git a/Help/command/exec_program.rst b/Help/command/exec_program.rst index 983a6df..6010176 100644 --- a/Help/command/exec_program.rst +++ b/Help/command/exec_program.rst @@ -1,6 +1,10 @@ exec_program ------------ +.. versionchanged:: 3.28 + This command is available only if policy :policy:`CMP0153` is not set to ``NEW``. + Port projects to the :command:`execute_process` command. + .. deprecated:: 3.0 Use the :command:`execute_process` command instead. diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index 89b7924..a018aff 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -57,6 +57,7 @@ Policies Introduced by CMake 3.28 .. toctree:: :maxdepth: 1 + CMP0153: The exec_program command should not be called. </policy/CMP0153> CMP0152: file(REAL_PATH) resolves symlinks before collapsing ../ components. </policy/CMP0152> Policies Introduced by CMake 3.27 diff --git a/Help/policy/CMP0153.rst b/Help/policy/CMP0153.rst new file mode 100644 index 0000000..4c9f3dc --- /dev/null +++ b/Help/policy/CMP0153.rst @@ -0,0 +1,12 @@ +CMP0153 +------- + +The :command:`exec_program` command should not be called. + +This command has long been superseded by the :command:`execute_process` +command and has been deprecated since CMake 3.0. + +.. |disallowed_version| replace:: 3.28 +.. include:: DISALLOWED_COMMAND.txt + +.. include:: DEPRECATED.txt diff --git a/Help/release/dev/exec_program-policy.rst b/Help/release/dev/exec_program-policy.rst new file mode 100644 index 0000000..8ddae5b --- /dev/null +++ b/Help/release/dev/exec_program-policy.rst @@ -0,0 +1,6 @@ +exec_program-policy +------------------- + +* The :command:`exec_program` command, which has been deprecated since CMake + 3.0, has been removed by policy :policy:`CMP0153`. Use the + :command:`execute_process` command instead. |