Merge pull request #4491 from facebook/cmake_root

[cmake] propose a root wrapper
This commit is contained in:
Yann Collet
2025-10-26 13:40:00 -08:00
committed by GitHub
5 changed files with 72 additions and 29 deletions
+9
View File
@@ -7,6 +7,15 @@ variables.
## How to build
You can configure the project from the repository root thanks to the forwarding
`CMakeLists.txt`:
```sh
cmake -S . -B build-cmake
cmake --build build-cmake
```
The historical workflow that starts configuration from `build/cmake` continues
to work as described below.
As cmake doesn't support command like `cmake clean`, it's recommended to perform an "out of source build".
To do this, you can create a new directory and build in it:
```sh