mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Merge topic 'Apple-handle-Text-Stubs'
ede33f30cfApple: Handle generation and comsuption of text-based stubs (.tbd files)fcbd723a50Enhance support functions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !8204
This commit is contained in:
@@ -158,6 +158,9 @@ that may be installed:
|
||||
``.lib``, in contrast to the ``.dll`` libraries that go to ``RUNTIME``);
|
||||
* On AIX, the *linker import file* created for executables with
|
||||
:prop_tgt:`ENABLE_EXPORTS` enabled.
|
||||
* On macOS, the *linker import file* created for shared libraries with
|
||||
:prop_tgt:`ENABLE_EXPORTS` enabled (except when marked as ``FRAMEWORK``,
|
||||
see below).
|
||||
|
||||
``LIBRARY``
|
||||
Target artifacts of this kind include:
|
||||
@@ -308,6 +311,11 @@ the following additional arguments:
|
||||
value of ``COMPONENT``. It is an error to use this parameter outside of a
|
||||
``LIBRARY`` block.
|
||||
|
||||
.. versionchanged:: 3.27
|
||||
This parameter is also usable for an ``ARCHIVE`` block to manage
|
||||
the linker import file created, on macOS, for shared libraries with
|
||||
:prop_tgt:`ENABLE_EXPORTS` enabled.
|
||||
|
||||
Consider the following example:
|
||||
|
||||
.. code-block:: cmake
|
||||
@@ -342,6 +350,11 @@ the following additional arguments:
|
||||
option installs nothing. It is an error to use this parameter outside of a
|
||||
``LIBRARY`` block.
|
||||
|
||||
.. versionchanged:: 3.27
|
||||
This parameter is also usable for an ``ARCHIVE`` block to manage
|
||||
the linker import file created, on macOS, for shared libraries with
|
||||
:prop_tgt:`ENABLE_EXPORTS` enabled.
|
||||
|
||||
When ``NAMELINK_ONLY`` is given, either ``NAMELINK_COMPONENT`` or
|
||||
``COMPONENT`` may be used to specify the installation component of the
|
||||
namelink, but ``COMPONENT`` should generally be preferred.
|
||||
@@ -355,6 +368,11 @@ the following additional arguments:
|
||||
installs the library. It is an error to use this parameter outside of a
|
||||
``LIBRARY`` block.
|
||||
|
||||
.. versionchanged:: 3.27
|
||||
This parameter is also usable for an ``ARCHIVE`` block to manage
|
||||
the linker import file created, on macOS, for shared libraries with
|
||||
:prop_tgt:`ENABLE_EXPORTS` enabled.
|
||||
|
||||
If ``NAMELINK_SKIP`` is specified, ``NAMELINK_COMPONENT`` has no effect. It
|
||||
is not recommended to use ``NAMELINK_SKIP`` in conjunction with
|
||||
``NAMELINK_COMPONENT``.
|
||||
|
||||
Reference in New Issue
Block a user