You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ ninja -C build test
41
41
More information on meson and ninja is provided further below in this README.
42
42
43
43
**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:
45
45
46
46
`./build/test/my-gtest/my-gtest.cpp.executable`
47
47
@@ -85,8 +85,8 @@ More information about testing is provided further below in this README.
85
85
- To initialize the build setup using meson run: `meson build` in the terminal.
86
86
- A folder with the name "build" has now appeared in your project (but no executables have been built yet)
87
87
- 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`
90
90
- (Take a look at the `meson.build` files in the project root, src and test directories to understand how the build process works.)
0 commit comments