summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-09-15 15:09:07 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-09-21 14:14:36 (GMT)
commit0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9 (patch)
treece8505ac8a9c7a8e9c09a0ee0af5beebae522682 /Help
parent2ce95133d65ed44e69543b286e47d768dbceff2b (diff)
downloadCMake-0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9.zip
CMake-0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9.tar.gz
CMake-0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9.tar.bz2
Genex LINK_LIBRARY: Add support for framework with postfix
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/genex-LINK_LIBRARY-FRAMEWORK-supports-suffix.rst5
-rw-r--r--Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt9
2 files changed, 12 insertions, 2 deletions
diff --git a/Help/release/dev/genex-LINK_LIBRARY-FRAMEWORK-supports-suffix.rst b/Help/release/dev/genex-LINK_LIBRARY-FRAMEWORK-supports-suffix.rst
new file mode 100644
index 0000000..e4d82ee
--- /dev/null
+++ b/Help/release/dev/genex-LINK_LIBRARY-FRAMEWORK-supports-suffix.rst
@@ -0,0 +1,5 @@
+genex-LINK_LIBRARY-FRAMEWORK-supports-suffix
+--------------------------------------------
+
+The :genex:`$<LINK_LIBRARY>` generator expression gains the capability, for the
+``FRAMEWORK`` features, to handle the suffix of the framework library name.
diff --git a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt b/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt
index 8ae6c57..aea1be8 100644
--- a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt
+++ b/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt
@@ -45,8 +45,8 @@
wildcard, and optional parts are shown as ``[...]``):
* ``[/path/to/]FwName[.framework]``
- * ``[/path/to/]FwName.framework/FwName``
- * ``[/path/to/]FwName.framework/Versions/*/FwName``
+ * ``[/path/to/]FwName.framework/FwName[suffix]``
+ * ``[/path/to/]FwName.framework/Versions/*/FwName[suffix]``
Note that CMake recognizes and automatically handles framework targets,
even without using the ``$<LINK_LIBRARY:FRAMEWORK,...>`` expression.
@@ -59,6 +59,11 @@
``$<LINK_LIBRARY:FRAMEWORK,...>`` for file paths so that the expected
behavior is clear.
+ .. versionadded:: 3.25
+ The :prop_tgt:`FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>` target property as
+ well as the ``suffix`` of the framework library name are now supported by
+ the ``FRAMEWORK`` features.
+
``NEEDED_FRAMEWORK``
This is similar to the ``FRAMEWORK`` feature, except it forces the linker
to link with the framework even if no symbols are used from it. It uses