cmake/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst
2019-11-11 23:01:05 +01:00

10 lines
365 B
ReStructuredText

PRE_INSTALL_SCRIPT
------------------
Deprecated install support.
The ``PRE_INSTALL_SCRIPT`` and :prop_tgt:`POST_INSTALL_SCRIPT` properties are
the old way to specify CMake scripts to run before and after installing a
target. They are used only when the old ``INSTALL_TARGETS`` command is
used to install the target. Use the :command:`install` command instead.