cmake: preserve spaces in clang-cl linker paths #26
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!26
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/26/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@idyllize on GitHub · 2026-07-16 20:16 UTC · original
codex/fix/clang-cl-link-paths→main· +6 −1 · 1 files · 1 commits · merged 2026-08-02 02:45 UTCSummary
Pass linker flags as individual CMake options so PDB and linker map paths remain intact when the build directory contains spaces.
The existing
LINK_FLAGSstring splits these paths before the final link. This change usestarget_link_optionsso CMake passes each option correctly.Testing
The failure reproduced in two clean Release configurations. The fixed branch completed a Release build in a path containing spaces, installation succeeded, the launcher started correctly, and all ten existing test executables passed.
AI disclosure
I used AI to help investigate the failure, prepare the change, and run the verification commands. I reviewed the change, reproduction evidence, test results, and this pull request text before submission.
@Nmzik on GitHub · 2026-07-29 06:09 UTC · original · approved these changes
Reviewed the complete change. Passing the clang-cl linker switches as separate target options correctly preserves paths containing spaces; no actionable issues found.