Skip to content

Commit a352cf7

Browse files
Merge pull request #874 from PatKamin/simplify-build-steps
Simplify build steps example
2 parents 631876b + 86c18c8 commit a352cf7

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,22 @@ For Level Zero memory provider tests:
4646

4747
### Linux
4848

49-
Executable and binaries will be in **build/bin**
49+
Executable and binaries will be in **build/bin**.
50+
The `{build_config}` can be either `Debug` or `Release`.
5051

5152
```bash
52-
$ mkdir build
53-
$ cd build
54-
$ cmake {path_to_source_dir}
55-
$ make
53+
$ cmake -B build -DCMAKE_BUILD_TYPE={build_config}
54+
$ cmake --build build -j $(nproc)
5655
```
5756

5857
### Windows
5958

60-
Generating Visual Studio Project. EXE and binaries will be in **build/bin/{build_config}**
59+
Generating Visual Studio Project. EXE and binaries will be in **build/bin/{build_config}**.
60+
The `{build_config}` can be either `Debug` or `Release`.
6161

6262
```bash
63-
$ mkdir build
64-
$ cd build
65-
$ cmake {path_to_source_dir} -G "Visual Studio 15 2017 Win64"
63+
$ cmake -B build -G "Visual Studio 15 2017 Win64"
64+
$ cmake --build build --config {build_config} -j $Env:NUMBER_OF_PROCESSORS
6665
```
6766

6867
### Benchmark

0 commit comments

Comments
 (0)