summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-03 11:48:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-03 11:48:13 (GMT)
commit35a192788f3a32c56fb5f9b66e097d698e4d03da (patch)
treeed5a83ae064084a6a9c1ab95abb8ffa524bac48a /Help
parent85a9f056a12582028123e88c4c9985ab2bf1220a (diff)
parente262123feeb676de7ca9690361a39cfd3daf89a3 (diff)
downloadCMake-35a192788f3a32c56fb5f9b66e097d698e4d03da.zip
CMake-35a192788f3a32c56fb5f9b66e097d698e4d03da.tar.gz
CMake-35a192788f3a32c56fb5f9b66e097d698e4d03da.tar.bz2
Merge topic 'doc-EXCLUDE_FROM_ALL'
e262123fee Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation a09195e7bf Help: Rename 'artefact' to 'artifact' in target_precompile_headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4840
Diffstat (limited to 'Help')
-rw-r--r--Help/command/target_precompile_headers.rst2
-rw-r--r--Help/prop_tgt/EXCLUDE_FROM_ALL.rst12
2 files changed, 7 insertions, 7 deletions
diff --git a/Help/command/target_precompile_headers.rst b/Help/command/target_precompile_headers.rst
index 0d4f45a..d4280b1 100644
--- a/Help/command/target_precompile_headers.rst
+++ b/Help/command/target_precompile_headers.rst
@@ -93,7 +93,7 @@ Reusing Precompile Headers
^^^^^^^^^^^^^^^^^^^^^^^^^^
The command also supports a second signature which can be used to specify that
-one target re-uses a precompiled header file artefact from another target
+one target re-uses a precompiled header file artifact from another target
instead of generating its own:
.. code-block:: cmake
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.