diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-09-21 18:04:54 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-11-15 14:10:58 (GMT) |
commit | 256bb0cc40a9f9f20452f0c0b2480886a577e7cb (patch) | |
tree | cc07534f951465698ace7fefc0bebfc12a456029 /Help/command/export.rst | |
parent | a90968e044d04839e610da9a1adf7b6f390e144a (diff) | |
download | CMake-256bb0cc40a9f9f20452f0c0b2480886a577e7cb.zip CMake-256bb0cc40a9f9f20452f0c0b2480886a577e7cb.tar.gz CMake-256bb0cc40a9f9f20452f0c0b2480886a577e7cb.tar.bz2 |
install(EXPORT): Add ability to point to .xcframework file
Issue: #25262
Diffstat (limited to 'Help/command/export.rst')
-rw-r--r-- | Help/command/export.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/command/export.rst b/Help/command/export.rst index 0440c50..f190df7 100644 --- a/Help/command/export.rst +++ b/Help/command/export.rst @@ -170,6 +170,9 @@ Configuring Exports [ENABLED (<bool-true>|<bool-false>|AUTO)] [EXTRA_ARGS <args>...] ] [...] + [TARGET <target> + [XCFRAMEWORK_LOCATION <location>] + ] [...] ) .. versionadded:: 3.29 @@ -202,3 +205,13 @@ Configure the parameters of an export. The arguments are as follows: ``EXTRA_ARGS <args>`` Specify additional arguments to pass to :command:`find_dependency` after the ``REQUIRED`` argument. + +``TARGET <target>`` + Specify a target to configure in this export. This argument accepts the + following additional arguments: + + ``XCFRAMEWORK_LOCATION`` + Specify the location of an ``.xcframework`` which contains the library from + this target. If specified, the generated code will check to see if the + ``.xcframework`` exists, and if it does, it will use the ``.xcframework`` + as its imported location instead of the installed library. |