Skip to content

Document Apple platform expressions - #612

Merged
Victor Romero (vicroms) merged 1 commit into
MicrosoftDocs:mainfrom
BillyONeal:doc-apple
Sep 21, 2026
Merged

Victor Romero (vicroms) merged 1 commit into
MicrosoftDocs:mainfrom
BillyONeal:doc-apple

Conversation

@BillyONeal

Copy link
Copy Markdown
Collaborator

Update the platform expression reference for microsoft/vcpkg-tool#2121 and document the other supported platform families.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Update the platform expression reference for microsoft/vcpkg-tool#2121 and document the other supported platform families.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 68547736-2122-4980-963b-6c7bde2464c2
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit c9567cd:

✅ Validation status: passed

File Status Preview URL Details
vcpkg/reference/vcpkg-json.md ✅Succeeded View

For more details, please refer to the build report.

Billy O'Neal (BillyONeal) added a commit to BillyONeal/vcpkg-tool that referenced this pull request Sep 17, 2026
While documenting the Apple platform expression added for vcpkg-tool#2121 in MicrosoftDocs/vcpkg-docs#612, the platform-expression reference exposed that the existing xbox identifier did not match VCPKG_TARGET_IS_XBOX.

The CMake definition recognizes Xbox only for the desktop Windows system name (empty or undefined) with a non-empty VCPKG_XBOX_CONSOLE_TARGET. Platform expressions previously checked only the console target, so UWP and unrelated target systems could incorrectly satisfy xbox.

Apply both conditions and cover missing, empty, desktop Windows, UWP, and non-Windows system-name cases.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a19bbe2f-47e6-474d-be82-2550f8a1aafa
Billy O'Neal (BillyONeal) added a commit to microsoft/vcpkg-tool that referenced this pull request Sep 17, 2026
While documenting the Apple platform expression added for #2121 in
MicrosoftDocs/vcpkg-docs#612, the platform-expression reference exposed
that the existing xbox identifier did not match `VCPKG_TARGET_IS_XBOX`.

The CMake definition recognizes Xbox only for the desktop Windows system
name (empty or undefined) with a non-empty `VCPKG_XBOX_CONSOLE_TARGET`.
Platform expressions previously checked only the console target, so UWP
and unrelated target systems could incorrectly satisfy xbox.

Apply both conditions and cover missing, empty, desktop Windows, UWP,
and non-Windows system-name cases.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a19bbe2f-47e6-474d-be82-2550f8a1aafa
@vicroms
Victor Romero (vicroms) merged commit ea5c999 into MicrosoftDocs:main Sep 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants