summaryrefslogtreecommitdiffstats
path: root/Help/policy
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-19 14:09:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-03-19 14:10:16 (GMT)
commitaa643b66a80e7d51bb5decd25caacc6a356efe1a (patch)
tree3ba238b7b8aa895c99b5e47f98ca0b9272333082 /Help/policy
parent4cb8f1de47d2edd36947c55f5fe9b0816cf9acfb (diff)
parenteceb368ccc1f2f8f33b852bf0099f680416696ef (diff)
downloadCMake-aa643b66a80e7d51bb5decd25caacc6a356efe1a.zip
CMake-aa643b66a80e7d51bb5decd25caacc6a356efe1a.tar.gz
CMake-aa643b66a80e7d51bb5decd25caacc6a356efe1a.tar.bz2
Merge topic 'doc-release-3.29-typos'
eceb368ccc Help: Fix typos in 3.29 docs 31fb693d06 Help: Fix typos and grammar in pre-3.29 docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9353
Diffstat (limited to 'Help/policy')
-rw-r--r--Help/policy/CMP0156.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/policy/CMP0156.rst b/Help/policy/CMP0156.rst
index 6fa0f04..d2ce291 100644
--- a/Help/policy/CMP0156.rst
+++ b/Help/policy/CMP0156.rst
@@ -17,20 +17,20 @@ Handling mutually dependent archives may be awkward when using a traditional
linker. Archive files may have to be specified multiple times.
Some linkers (for instance Apple or Windows linkers, as well as ``LLVM LLD``)
-records all symbols found in objects and archives as it iterates over command
+record all symbols found in objects and archives as they iterate over command
line arguments. When one of these linkers encounters an undefined symbol that
can be resolved by an object file contained in a previously processed archive
file, it immediately extracts and links it into the output object.
CMake 3.28 and below may generate link lines that repeat static libraries as
-a traditional linker would need, even when using a linker does not need it.
+a traditional linker would need, even when using a linker that does not need it.
They may also de-duplicate shared libraries by keeping their last occurrence,
which on Windows platforms can change DLL load order.
CMake 3.29 and above prefer to apply different strategies based on linker
capabilities. So, when targeting Apple and Windows platforms, all
libraries are de-duplicated. Moreover, on Windows platforms, libraries
-are de-duplicated by keeping their fist occurrence, thus respecting the
+are de-duplicated by keeping their first occurrence, thus respecting the
project-specified order. This policy provides compatibility with projects
that have not been updated to expect the latter behavior.