[doc] prefer 'cmake -B' and 'cmake --build' everywhere (#10717)

This commit is contained in:
James Lamb
2024-08-21 13:16:55 -05:00
committed by GitHub
parent 24d225c1ab
commit 03bd1183bc
5 changed files with 37 additions and 66 deletions

View File

@@ -33,8 +33,6 @@ See also [Intel® oneAPI Programming Guide](https://www.intel.com/content/www/us
From the ``xgboost`` directory, run:
```bash
$ mkdir build
$ cd build
$ cmake .. -DPLUGIN_SYCL=ON
$ make -j
```
$ cmake -B build -S . -DPLUGIN_SYCL=ON
$ cmake --build build -j
```