aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/howtox.md
diff options
context:
space:
mode:
authorTheQwertiest <qwertiest@mail.ru>2020-06-15 18:36:08 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-06-18 17:47:10 +0300
commit96609da8d26fc05be8845c1edf05c8aa38af047d (patch)
treeb5e5dfdf414d9f9efac2c0743cc211082ef34498 /docs/markdown/howtox.md
parente191cbf6e990caa0e912996977584909aab21da8 (diff)
downloadmeson-96609da8d26fc05be8845c1edf05c8aa38af047d.zip
meson-96609da8d26fc05be8845c1edf05c8aa38af047d.tar.gz
meson-96609da8d26fc05be8845c1edf05c8aa38af047d.tar.bz2
docs: replaced `ninja` with appropriate `meson` commands [skip ci]
Diffstat (limited to 'docs/markdown/howtox.md')
-rw-r--r--docs/markdown/howtox.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md
index 84546b7..b48aeab 100644
--- a/docs/markdown/howtox.md
+++ b/docs/markdown/howtox.md
@@ -148,8 +148,8 @@ $ meson <other flags> -Db_coverage=true
Then issue the following commands.
```console
-$ ninja
-$ ninja test
+$ meson compile
+$ meson test
$ ninja coverage-html (or coverage-xml)
```
@@ -209,8 +209,8 @@ operation. First we set up the project with profile measurements
enabled and compile it.
```console
-$ meson <Meson options, such as --buildtype=debugoptimized> -Db_pgo=generate
-$ ninja -C builddir
+$ meson setup <Meson options, such as --buildtype=debugoptimized> -Db_pgo=generate
+$ meson compile -C builddir
```
Then we need to run the program with some representative input. This
@@ -221,7 +221,7 @@ information and rebuild.
```console
$ meson configure -Db_pgo=use
-$ ninja
+$ meson compile
```
After these steps the resulting binary is fully optimized.