diff options
author | Craig Scott <craig.scott@crascit.com> | 2023-12-09 05:14:53 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2023-12-09 05:15:19 (GMT) |
commit | 01735badee627450e0765151e1a18e87bcab17a6 (patch) | |
tree | 3966e780557453f96cac041415362b521ab69fbe /Help/prop_tgt | |
parent | 6ac50df591b39a5fb9fcaac6ff2678127b86ef22 (diff) | |
download | CMake-01735badee627450e0765151e1a18e87bcab17a6.zip CMake-01735badee627450e0765151e1a18e87bcab17a6.tar.gz CMake-01735badee627450e0765151e1a18e87bcab17a6.tar.bz2 |
Help: XCFrameworks and stubs are supported on all Apple, not just macOS
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/ENABLE_EXPORTS.rst | 4 | ||||
-rw-r--r-- | Help/prop_tgt/IMPORTED_IMPLIB.rst | 8 | ||||
-rw-r--r-- | Help/prop_tgt/IMPORTED_LOCATION.rst | 14 |
3 files changed, 11 insertions, 15 deletions
diff --git a/Help/prop_tgt/ENABLE_EXPORTS.rst b/Help/prop_tgt/ENABLE_EXPORTS.rst index e34c649..1902d94 100644 --- a/Help/prop_tgt/ENABLE_EXPORTS.rst +++ b/Help/prop_tgt/ENABLE_EXPORTS.rst @@ -35,8 +35,8 @@ the property instead for backward compatibility reasons. See below for alternative initialization behavior for shared library targets. .. versionadded:: 3.27 - On Apple platforms, to link with a shared library (either a bare library or a - framework), a linker import file can be used instead of the actual shared + To link with a shared library on macOS, or to a shared framework on any Apple + platform, a linker import file can be used instead of the actual shared library. These linker import files are also known as text-based stubs, and they have a ``.tbd`` file extension. diff --git a/Help/prop_tgt/IMPORTED_IMPLIB.rst b/Help/prop_tgt/IMPORTED_IMPLIB.rst index 1b4895a..7cbffeb 100644 --- a/Help/prop_tgt/IMPORTED_IMPLIB.rst +++ b/Help/prop_tgt/IMPORTED_IMPLIB.rst @@ -10,10 +10,10 @@ This property may be set: On AIX, to an import file (e.g. ``.imp``) created for executables that export symbols (see the :prop_tgt:`ENABLE_EXPORTS` target property). * .. versionadded:: 3.27 - On macOS platforms, to an import file (e.g. ``.tbd``) created for shared - libraries (see the :prop_tgt:`ENABLE_EXPORTS` target property). - For frameworks this is the location of the ``.tbd`` file symlink just - inside the framework folder. + On Apple platforms, to an import file (e.g. ``.tbd``) created for shared + libraries or frameworks (see the :prop_tgt:`ENABLE_EXPORTS` target + property). For frameworks, this is the location of the ``.tbd`` file + symlink just inside the framework folder. * .. versionadded:: 3.28 On non-DLL platforms, to the location of a shared library. When set without also specifying an :prop_tgt:`IMPORTED_LOCATION`, diff --git a/Help/prop_tgt/IMPORTED_LOCATION.rst b/Help/prop_tgt/IMPORTED_LOCATION.rst index 915085b..2351374 100644 --- a/Help/prop_tgt/IMPORTED_LOCATION.rst +++ b/Help/prop_tgt/IMPORTED_LOCATION.rst @@ -17,14 +17,10 @@ non-imported targets. .. versionadded:: 3.28 - For frameworks on macOS, this may be the location of the framework folder - itself. - -.. versionadded:: 3.28 - - This may be the location of a ``.xcframework`` folder on macOS. If it is, - any target that links against it will get the selected library's ``Headers`` - directory as a usage requirement. + For ordinary frameworks on Apple platforms, this may be the location of the + ``.framework`` folder itself. For XCFrameworks, it may be the location of + the ``.xcframework`` folder, in which case any target that links against it + will get the selected library's ``Headers`` directory as a usage requirement. The ``IMPORTED_LOCATION`` target property may be overridden for a given configuration ``<CONFIG>`` by the configuration-specific @@ -38,5 +34,5 @@ selected and its :prop_tgt:`IMPORTED_LOCATION_<CONFIG>` value used. To get the location of an imported target read one of the :prop_tgt:`LOCATION` or ``LOCATION_<CONFIG>`` properties. -For platforms with import libraries (e.g. Windows, AIX or macOS) see also +For platforms with import libraries (e.g. Windows, AIX or Apple) see also :prop_tgt:`IMPORTED_IMPLIB`. |