Help/OPTIMIZE_DEPENDENCIES: fix parity of which files are considered

This commit is contained in:
Ben Boeckel
2025-10-22 09:46:40 -04:00
parent e00b84ec13
commit c40f3b984b
+1 -1
View File
@@ -22,7 +22,7 @@ any of the following criteria:
commands associated with it. commands associated with it.
* The dependency contains any source files that were generated by a custom * The dependency contains any source files that were generated by a custom
command. However, if :policy:`CMP0154` is `NEW` for the dependency and it command. However, if :policy:`CMP0154` is `NEW` for the dependency and it
uses :ref:`File Sets`, only source files that are not in a ``PUBLIC``, uses :ref:`File Sets`, only source files that are scoped as ``PUBLIC``,
``INTERFACE``, or of type ``CXX_MODULES`` are considered. ``INTERFACE``, or of type ``CXX_MODULES`` are considered.
* The dependency contains any languages which produce side effects that are * The dependency contains any languages which produce side effects that are
relevant to the library. Currently, all languages except C, C++, Objective-C, relevant to the library. Currently, all languages except C, C++, Objective-C,