Use repository root as CMake source directory #153
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!153
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/153/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?
@boykopovar on GitHub · 2026-08-02 13:00 UTC · original
boykopovar:feat/root-cmakelists→main· +127 −124 · 7 files · 2 commits · merged 2026-08-02 22:34 UTCSummary
src/CMakeLists.txtto the repository root.cmake -S ..cmake-build-debug/directory.Why
CMake-aware IDEs can now open the repository directly and discover the complete project without manually selecting
srcas a separate source root. Command-line and CI builds use the same root entry point, avoiding differences between IDE and automated configurations.Validation
Tested on Windows with CMake 4.3.2, Ninja, clang-cl, Qt 6.11, and the Vulkan SDK:
cmake -S ..launcher,audio_out2_port_tests, andvirtual_memory_allocation_tests.audio_out2_portandvirtual_memory_allocationthrough CTest.