summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0031.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/policy/CMP0031.rst')
-rw-r--r--Help/policy/CMP0031.rst13
1 files changed, 13 insertions, 0 deletions
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