summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorArcturus <arcturus98@outlook.com>2020-06-01 20:25:43 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-02 17:29:08 (GMT)
commite262123feeb676de7ca9690361a39cfd3daf89a3 (patch)
tree015578ee5853453ba65c2ca9b39238d677ab89d3 /Help
parenta09195e7bfd807be131b69263373e15abb93712e (diff)
downloadCMake-e262123feeb676de7ca9690361a39cfd3daf89a3.zip
CMake-e262123feeb676de7ca9690361a39cfd3daf89a3.tar.gz
CMake-e262123feeb676de7ca9690361a39cfd3daf89a3.tar.bz2
Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation
Diffstat (limited to 'Help')
-rw-r--r--Help/prop_tgt/EXCLUDE_FROM_ALL.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Help/prop_tgt/EXCLUDE_FROM_ALL.rst b/Help/prop_tgt/EXCLUDE_FROM_ALL.rst
index 3aa296d..c9ece22 100644
--- a/Help/prop_tgt/EXCLUDE_FROM_ALL.rst
+++ b/Help/prop_tgt/EXCLUDE_FROM_ALL.rst
@@ -13,9 +13,9 @@ included in the "all" target of its ancestor directories unless the
With ``EXCLUDE_FROM_ALL`` set to false or not set at all, the target
will be brought up to date as part of doing a ``make install`` or its
-equivalent for the CMake generator being used. If a target has
-``EXCLUDE_FROM_ALL`` set to true, then any attempt to install that
-target has undefined behavior. Note that such a target can still safely
-be listed in an :command:`install(TARGETS)` command as long as the install
-components the target belongs to are not part of the set of components
-that anything tries to install.
+equivalent for the CMake generator being used.
+
+If a target has ``EXCLUDE_FROM_ALL`` set to true, it may still be listed
+in an :command:`install(TARGETS)` command, but the user is responsible for
+ensuring that the target's build artifacts are not missing or outdated when
+an install is performed.