summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-02 15:18:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-02 15:18:22 (GMT)
commita8a0564973e7895c1e3fe226ffb40308b07a98da (patch)
tree6d9be78166a4baeddbb7b1014aa13a36e4969791
parente7f58eff27ded2dad51e5919b6669c6b35b7134f (diff)
parent0f76839bc78453f49da7b770ae65090e48fdd63a (diff)
downloadCMake-a8a0564973e7895c1e3fe226ffb40308b07a98da.zip
CMake-a8a0564973e7895c1e3fe226ffb40308b07a98da.tar.gz
CMake-a8a0564973e7895c1e3fe226ffb40308b07a98da.tar.bz2
Merge topic 'discourage-cmake_install'
0f76839bc7 Help: Discourage direct use of cmake_install.cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4553
-rw-r--r--Help/command/install.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index cf04eda..3b72ea6 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -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