aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-09-28 18:26:29 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-09-28 18:26:29 +0300
commit01edd26baf7c9a54ddfdd8d103673cedc5a19b4d (patch)
tree9c191b9d3ff39d8ce82089b563436ce6d0de5631 /docs/markdown
parent2664ab069db0129201bed09b2455a88c0210c347 (diff)
downloadmeson-01edd26baf7c9a54ddfdd8d103673cedc5a19b4d.zip
meson-01edd26baf7c9a54ddfdd8d103673cedc5a19b4d.tar.gz
meson-01edd26baf7c9a54ddfdd8d103673cedc5a19b4d.tar.bz2
Add old style command to tutorial. Closes #7793. [skip ci]
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Tutorial.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/markdown/Tutorial.md b/docs/markdown/Tutorial.md
index f108c0c..bf337ba 100644
--- a/docs/markdown/Tutorial.md
+++ b/docs/markdown/Tutorial.md
@@ -75,12 +75,23 @@ When Meson is run it prints the following output.
Now we are ready to build our code.
+
+```console
+$ cd builddir
+$ ninja
```
+
+If your Meson version is newer than 0.55.0, you can use the new
+backend-agnostic build command:
+
+```console
$ cd builddir
$ meson compile
```
-Once that is done we can run the resulting binary.
+For the rest of this document we are going to use the latter form.
+
+Once the executable is built we can run it.
```console
$ ./demo
@@ -135,7 +146,7 @@ need to recreate our build directory, run any sort of magical commands
or the like. Instead we just type the exact same command as if we were
rebuilding our code without any build system changes.
-```
+```console
$ meson compile
```