Use repository root as CMake source directory #153

Manually merged
github merged 2 commits from gh-pr/153/head into gh-pr/153/base 2026-11-26 09:12:30 +00:00
Owner

@⁠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 UTC

Summary

  • Move the canonical CMake project definition from src/CMakeLists.txt to the repository root.
  • Update source, test, generated-file, common-library, and launcher paths for the new source root while preserving the existing build artifact layout.
  • Configure CI, the README, and VS Code to use cmake -S ..
  • Ignore CLion's default cmake-build-debug/ directory.

Why

CMake-aware IDEs can now open the repository directly and discover the complete project without manually selecting src as 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:

  • Configured successfully with cmake -S ..
  • Built launcher, audio_out2_port_tests, and virtual_memory_allocation_tests.
  • Confirmed all tests are registered from the root build directory.
  • Passed audio_out2_port and virtual_memory_allocation through CTest.
**@⁠boykopovar** on GitHub · 2026-08-02 13:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/153) `boykopovar:feat/root-cmakelists` → `main` · +127 −124 · 7 files · 2 commits · merged 2026-08-02 22:34 UTC ## Summary - Move the canonical CMake project definition from `src/CMakeLists.txt` to the repository root. - Update source, test, generated-file, common-library, and launcher paths for the new source root while preserving the existing build artifact layout. - Configure CI, the README, and VS Code to use `cmake -S .`. - Ignore CLion's default `cmake-build-debug/` directory. ## Why CMake-aware IDEs can now open the repository directly and discover the complete project without manually selecting `src` as 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: - Configured successfully with `cmake -S .`. - Built `launcher`, `audio_out2_port_tests`, and `virtual_memory_allocation_tests`. - Confirmed all tests are registered from the root build directory. - Passed `audio_out2_port` and `virtual_memory_allocation` through CTest.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:12:30 +00:00
github manually merged commit 9f8cce9ccd into gh-pr/153/base 2026-11-26 09:12:30 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.