Skip to content

Commit 72d373a

Browse files
author
sander
committed
update readme
1 parent 0b7070b commit 72d373a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ninja -C build test
4141
More information on meson and ninja is provided further below in this README.
4242

4343
**4. Running executables**
44-
If you run ls now after compiling, you’d see there is a new directory called `build`. This directory contains the compiled binary executables that you can run. For example, to run main.cpp from the BST portion of the assignment, run the command below from the root folder of your project:
44+
If you run ls now after compiling, you’d see there is a new directory called `build`. This directory contains the compiled binary executables that you can run. For example, to run my-gtest do:
4545

4646
`./build/test/my-gtest/my-gtest.cpp.executable`
4747

@@ -85,8 +85,8 @@ More information about testing is provided further below in this README.
8585
- To initialize the build setup using meson run: `meson build` in the terminal.
8686
- A folder with the name "build" has now appeared in your project (but no executables have been built yet)
8787
- To compile all the executables type: `ninja -C build` (`-C build` means we're first going into the `build` directory before running any of the ninja commands)
88-
- To compile a single executable after build setup, type: `ninja -C build` followed by the path of the executable. For instance, to compile main in bst folder, type `ninja -C build test/my-gtest/my-gtest.cpp.executable`
89-
- All the executables are under `./build/test/`. For instance, to run the main executable in bst folder, type: `./build/test/my-gtest/my-gtest.cpp.executable`
88+
- To compile a single executable after build setup, type: `ninja -C build` followed by the path of the executable. For instance, to compile my-gtest, type `ninja -C build test/my-gtest/my-gtest.cpp.executable`
89+
- All the executables are under `./build/test/`. For instance, to run my-gtest, type: `./build/test/my-gtest/my-gtest.cpp.executable`
9090
- (Take a look at the `meson.build` files in the project root, src and test directories to understand how the build process works.)
9191

9292
# Testing

0 commit comments

Comments
 (0)