Help: Discourage direct use of cmake_install.cmake

Encourage people to use cmake(1) --install instead.
This commit is contained in:
Kyle Edwards
2020-03-31 15:05:24 -04:00
parent 7c6a0253f3
commit 0f76839bc7

View File

@@ -705,6 +705,11 @@ executable from the installation tree using the imported target name
Generated Installation Script
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. note::
Use of this feature is not recommended. Please consider using the
``--install`` argument of :manual:`cmake(1)` instead.
The ``install()`` command generates a file, ``cmake_install.cmake``, inside
the build directory, which is used internally by the generated install target
and by CPack. You can also invoke this script manually with ``cmake -P``. This