Skip to content

Commit b4081f4

Browse files
authored
Merge pull request #103 from hspedro/master
docs: update README.md with build dir instructions
2 parents f1312b1 + c1a196c commit b4081f4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,14 @@ change the config from `Debug` (default) to `Release`, use another build tool li
172172
to install the dependencies, remember to specify the `-DCMAKE_TOOLCHAIN_FILE=...` option when you run the initial build
173173
configuration.
174174

175-
- Configure the build system: `"cmake ."`
175+
- Create a build directory: `"mkdir build && cd build"`
176+
- Configure the build system: `"cmake .."`
176177
- Tell CMake to invoke the build system: `"cmake --build ."` _You can repeat this step to rebuild your changes._
177178
- CTest comes with CMake and runs the tests: `"ctest ."` _Run this frequently, and make sure it passes before commits._
178179

179-
You can then optionally install the public outputs by running.
180-
181-
- `cmake --build . --config Release --target install` _You probably need to use `sudo` on Unix to do this._
180+
You can then optionally install the public outputs by configuring it with `Release`:
181+
- `cmake -DCMAKE_BUILD_TYPE=Release ..`
182+
- `cmake --build . --target install` _You probably need to use `sudo` on Unix to do this._
182183

183184
## Interactive tests
184185

0 commit comments

Comments
 (0)