diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 16:41:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-22 13:09:52 (GMT) |
commit | aa76518f8bfd821f000d1779066eb7614cdd079b (patch) | |
tree | 4005fa79df546cbf0de9bfb2f0610b27a9b65c3d /Help | |
parent | 97268cf5b7626febb06d04c2201ace397a4863fd (diff) | |
download | CMake-aa76518f8bfd821f000d1779066eb7614cdd079b.zip CMake-aa76518f8bfd821f000d1779066eb7614cdd079b.tar.gz CMake-aa76518f8bfd821f000d1779066eb7614cdd079b.tar.bz2 |
Add policy CMP0031 to disallow load_command
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/load_command.rst | 2 | ||||
-rw-r--r-- | Help/manual/cmake-policies.7.rst | 1 | ||||
-rw-r--r-- | Help/policy/CMP0031.rst | 13 |
3 files changed, 16 insertions, 0 deletions
diff --git a/Help/command/load_command.rst b/Help/command/load_command.rst index 63f23be..fc316d4 100644 --- a/Help/command/load_command.rst +++ b/Help/command/load_command.rst @@ -1,6 +1,8 @@ load_command ------------ +Disallowed. See CMake Policy :policy:`CMP0031`. + Load a command into a running CMake. :: diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index c1251f0..ab1bf39 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -60,3 +60,4 @@ All Policies /policy/CMP0028 /policy/CMP0029 /policy/CMP0030 + /policy/CMP0031 diff --git a/Help/policy/CMP0031.rst b/Help/policy/CMP0031.rst new file mode 100644 index 0000000..e97dd0a --- /dev/null +++ b/Help/policy/CMP0031.rst @@ -0,0 +1,13 @@ +CMP0031 +------- + +The :command:`load_command` command should not be called. + +This command was added in August 2002 to allow projects to add +arbitrary commands implemented in C or C++. However, it does +not work when the toolchain in use does not match the ABI of +the CMake process. It has been mostly superseded by the +:command:`macro` and :command:`function` commands. + +.. |disallowed_version| replace:: 3.0.0 +.. include:: DISALLOWED_COMMAND.txt |