docs: note the CMake requirement for cached Debug builds #1272

Merged
nanyoudegege merged 1 commit from upstream-pr/1279 into main 2026-11-24 06:47:41 +00:00
nanyoudegege commented 2026-11-24 06:30:47 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by nanyoudegege on 2026-11-24T06:30:47Z.


Problem

The optional Debug compiler-cache example added in #1249 passes CMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded and CMAKE_POLICY_DEFAULT_CMP0141=NEW. Both interfaces first became available in CMake 3.25, while the ordinary project minimum is 3.21. The optional example did not make that distinction.

Change

Document the minimum CMake version for the embedded Debug format in the cache opt-in. The normal minimum and all commands are unchanged.

Verification

At base 05ed719fbea1e5643c6fd10c9f0d846b07f1a226, checked the project minimum and the options in tools/dev.ps1 against Kitware's CMP0141 documentation and format variable documentation. Compared the old and new document blobs to verify that only the prerequisite sentence was inserted. Documentation only; no native MSVC, CMake build, or cache performance measurements were run.

AI-assisted (ChatGPT/Codex).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6576077385 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1279). Originally posted by [nanyoudegege](https://github.com/nanyoudegege) on 2026-11-24T06:30:47Z. --- ### Problem The optional Debug compiler-cache example added in #1249 passes `CMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded` and `CMAKE_POLICY_DEFAULT_CMP0141=NEW`. Both interfaces first became available in CMake 3.25, while the ordinary project minimum is 3.21. The optional example did not make that distinction. ### Change Document the minimum CMake version for the embedded Debug format in the cache opt-in. The normal minimum and all commands are unchanged. ### Verification At base `05ed719fbea1e5643c6fd10c9f0d846b07f1a226`, checked the project minimum and the options in `tools/dev.ps1` against [Kitware's CMP0141 documentation](https://cmake.org/cmake/help/v3.25/policy/CMP0141.html) and [format variable documentation](https://cmake.org/cmake/help/v3.25/variable/CMAKE_MSVC_DEBUG_INFORMATION_FORMAT.html). Compared the old and new document blobs to verify that only the prerequisite sentence was inserted. Documentation only; no native MSVC, CMake build, or cache performance measurements were run. AI-assisted (ChatGPT/Codex).
chatgpt-codex-connector[bot commented 2026-11-24 06:50:32 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T06:31:02Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T06:33:12.064597Z 910607d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7124014588 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1279#issuecomment-7124014588). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-24T06:31:02Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"910607dfc23a97bd2f948830893098f42b178955","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-24T06:33:12.064597Z">2026-11-24T06:33:12.064597Z</relative-time> | `910607d` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
upstream-sync closed this pull request 2026-11-24 07:00:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!1272
No description provided.