From 0f76839bc78453f49da7b770ae65090e48fdd63a Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 31 Mar 2020 15:05:24 -0400 Subject: Help: Discourage direct use of cmake_install.cmake Encourage people to use cmake(1) --install instead. --- Help/command/install.rst | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v0.12