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

Open
github-bot wants to merge 1 commit from github-bot/gh-2083 into main AGit
Owner

@⁠alexandersato0830 on GitHub · 2026-11-25 19:48 UTC · original
alexandersato0830:codex/title-hud-vulkan-guard → main · +12 −10 · 1 files · 1 commits · open

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.
**@⁠alexandersato0830** on GitHub · 2026-11-25 19:48 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2083) `alexandersato0830:codex/title-hud-vulkan-guard` → `main` · +12 −10 · 1 files · 1 commits · open Claimed in the coordination issue as: [CMAKE-TITLE-HUD-OPTIONAL-VULKAN](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ### 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:17:14 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2083/head:github-bot/gh-2083'
git switch 'github-bot/gh-2083'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2083'
git switch 'github-bot/gh-2083'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2083'
git switch 'github-bot/gh-2083'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2083'
git switch 'main'
git merge --squash 'github-bot/gh-2083'
git switch 'main'
git merge --ff-only 'github-bot/gh-2083'
git switch 'main'
git merge 'github-bot/gh-2083'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.