https://github.com/Kitware/CMake
Raw File
Tip revision: 18b02cc127730e3b007c2b56c6e115d476f0d5e0 authored by Brad King on 23 March 2022, 14:11:55 UTC
CMake 3.23.0-rc5
Tip revision: 18b02cc
CMP0031.rst
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
back to top