diff options
author | Brad King <brad.king@kitware.com> | 2020-04-02 15:18:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-02 15:18:22 (GMT) |
commit | a8a0564973e7895c1e3fe226ffb40308b07a98da (patch) | |
tree | 6d9be78166a4baeddbb7b1014aa13a36e4969791 | |
parent | e7f58eff27ded2dad51e5919b6669c6b35b7134f (diff) | |
parent | 0f76839bc78453f49da7b770ae65090e48fdd63a (diff) | |
download | CMake-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.rst | 5 |
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 |