[PR #2083] Gate the title HUD test on Vulkan headers (CMAKE-TITLE-HUD-OPTIONAL-VULKAN) #2089

Open
opened 2026-11-26 21:19:59 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2083
Author: @alexandersato0830
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: codex/title-hud-vulkan-guard


📝 Commits (1)

  • deac3f6 Gate the title HUD test on Vulkan headers

📊 Changes

1 file changed (+12 additions, -10 deletions)

View changed files

📝 runtime/CMakeLists.txt (+12 -10)

📄 Description

Claimed in the coordination issue as: CMAKE-TITLE-HUD-OPTIONAL-VULKAN

What and why

After #1922, a Windows build with testing enabled failed to configure without Vulkan headers because title_hud_test links Vulkan::Headers unconditionally. The HUD includes Vulkan types through the memory probe header. Register and build its test in the existing Vulkan headers block. The independent user32 window test remains available in the headers-free configuration.

Tested

  • Windows 11, Visual Studio 18, MSVC 19.51. Main 5da72d1 failed generation because title_hud_test linked a missing target.
  • A fresh configure without Vulkan headers succeeded with the patch. Built title_window_test and passed title_window CTest.
  • With the project's pinned Vulkan headers, configured, built and passed title_hud CTest.
  • Five CMake discovery tests and five CTest registration tests passed. Verified git diff --check and the source-only check.

GPUs tested: n/a. The HUD test uses a synthetic Win32 window.

AI-assisted: yes.

  • Based on current main.
  • One topic.
  • Source-only change.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2083 **Author:** [@alexandersato0830](https://github.com/alexandersato0830) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/title-hud-vulkan-guard` --- ### 📝 Commits (1) - [`deac3f6`](https://github.com/ubiquitarianism/leonida/commit/deac3f6ab17142321921f31d110924598f1d3a92) Gate the title HUD test on Vulkan headers ### 📊 Changes **1 file changed** (+12 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+12 -10) </details> ### 📄 Description Claimed in the coordination issue as: [CMAKE-TITLE-HUD-OPTIONAL-VULKAN](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7172696433) ### What and why After #1922, a Windows build with testing enabled failed to configure without Vulkan headers because `title_hud_test` links `Vulkan::Headers` unconditionally. The HUD includes Vulkan types through the memory probe header. Register and build its test in the existing Vulkan headers block. The independent user32 window test remains available in the headers-free configuration. ### Tested - Windows 11, Visual Studio 18, MSVC 19.51. Main `5da72d1` failed generation because `title_hud_test` linked a missing target. - A fresh configure without Vulkan headers succeeded with the patch. Built `title_window_test` and passed `title_window` CTest. - With the project's pinned Vulkan headers, configured, built and passed `title_hud` CTest. - Five CMake discovery tests and five CTest registration tests passed. Verified `git diff --check` and the source-only check. GPUs tested: n/a. The HUD test uses a synthetic Win32 window. AI-assisted: yes. - [x] Based on current `main`. - [x] One topic. - [x] Source-only change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#2089
No description provided.