Update HACKING.md

This commit is contained in:
Daniel Lemire 2020-04-29 15:57:37 -04:00 committed by GitHub
parent 5d7a84fad7
commit 5051c27c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ Other important files and directories:
mkdir build
cd build
cmake ..
cmake --build . --config=Release
cmake --build . --config Release
benchmark/parse ../jsonexamples/twitter.json
```
The last line becomes `./benchmark/Release/parse.exe ../jsonexample/twitter.json` under Windows. You may also use Google Benchmark:
@ -54,7 +54,7 @@ Other important files and directories:
mkdir build
cd build
cmake .. -DSIMDJSON_GOOGLE_BENCHMARKS=ON
cmake --build . --target bench_parse_call --config=Release
cmake --build . --target bench_parse_call --config Release
./benchmark/bench_parse_call
```
The last line becomes `./benchmark/Release/bench_parse_call.exe` under Windows. Under Windows, you can also build with the clang compiler by adding `-T ClangCL` to the call to `cmake .. `.