Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs about XCRun settings_target argument #2797

Merged
merged 1 commit into from Nov 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion reference/conanfile/tools/apple.rst
Expand Up @@ -427,13 +427,16 @@ XCRun()

class XCRun(object):

def __init__(self, conanfile, sdk=None):
def __init__(self, conanfile, sdk=None, use_settings_target=False):

Parameters:

- **conanfile**: Conanfile instance.
- **sdk**: Will skip the flag when ``False`` is passed and will try to adjust the sdk it
automatically if ``None`` is passed.
- **use_settings_target**: If ``True`` it will try to use the settings from the target.
When ``False`` it will use the settings from the active context. Read more about the
``settings_target`` in the :ref:`cross-building section<cross_building>`.

XCRun is a wrapper for the Apple **xcrun** tool used to get information for building. It
has these properties:
Expand Down