summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/policy/CMP0031.rst
blob: 8c3eef62a4abe15d955fe79ce584bbb618163c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
.. include:: DISALLOWED_COMMAND.txt

.. include:: DEPRECATED.txt