mirror of
https://github.com/google/benchmark.git
synced 2025-03-29 05:20:21 +08:00
README.md: fix build instructions (#1880)
Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
This commit is contained in:
parent
7ddc400d62
commit
f981f58da3
@ -78,7 +78,7 @@ $ cmake -E make_directory "build"
|
|||||||
# Generate build system files with cmake, and download any dependencies.
|
# Generate build system files with cmake, and download any dependencies.
|
||||||
$ cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
|
$ cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
|
||||||
# or, starting with CMake 3.13, use a simpler form:
|
# or, starting with CMake 3.13, use a simpler form:
|
||||||
# cmake -DCMAKE_BUILD_TYPE=Release -S . -B "build"
|
# cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release -S . -B "build"
|
||||||
# Build the library.
|
# Build the library.
|
||||||
$ cmake --build "build" --config Release
|
$ cmake --build "build" --config Release
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user