Replaced `ninja` with `meson` [skip ci]

pull/7405/head
TheQwertiest 5 years ago committed by Jussi Pakkanen
parent 9e0db0a05e
commit 83a973ca04
  1. 2
      docs/markdown/Feature-autodetection.md
  2. 4
      docs/markdown/Localisation.md
  3. 2
      docs/markdown/Run-targets.md
  4. 2
      docs/markdown/Tutorial.md
  5. 2
      docs/markdown/Unit-tests.md
  6. 6
      docs/markdown/howtox.md

@ -28,7 +28,7 @@ the binaries `gcovr`, `lcov` and `genhtml`. If version 3.3 or higher
of the first is found, targets called *coverage-text*, *coverage-xml*
and *coverage-html* are generated. Alternatively, if the latter two
are found, only the target *coverage-html* is generated. Coverage
reports can then be produced simply by calling e.g. `ninja
reports can then be produced simply by calling e.g. `meson compile
coverage-xml`. As a convenience, a high-level *coverage* target is
also generated which will produce all 3 coverage report types, if
possible.

@ -48,7 +48,7 @@ Then we need to generate the main pot file. The potfile can have any name but is
Run the following command from your build folder to generate the pot file. It is recommended to inspect it manually afterwards and fill in e.g. proper copyright and contact information.
```console
$ ninja intltest-pot
$ meson compile intltest-pot
```
### generate .po files
@ -56,5 +56,5 @@ $ ninja intltest-pot
For each language listed in the array above we need a corresponding `.po` file. Those can be generated by running the following command from your build folder.
```console
$ ninja intltest-update-po
$ meson compile intltest-update-po
```

@ -29,7 +29,7 @@ run_target('inspector',
Run targets are not run by default. To run it run the following command.
```console
$ ninja inspector
$ meson compile inspector
```
All additional entries in `run_target`'s `command` array are passed unchanged to the inspector script, so you can do things like this:

@ -74,7 +74,7 @@ Now we are ready to build our code.
```
$ cd builddir
$ ninja
$ meson compile
```
Once that is done we can run the resulting binary.

@ -12,7 +12,7 @@ e = executable('prog', 'testprog.c')
test('name of test', e)
```
You can add as many tests as you want. They are run with the command `ninja
You can add as many tests as you want. They are run with the command `meson
test`.
Meson captures the output of all tests and writes it in the log file

@ -150,7 +150,7 @@ Then issue the following commands.
```console
$ meson compile
$ meson test
$ ninja coverage-html (or coverage-xml)
$ meson compile coverage-html (or coverage-xml)
```
The coverage report can be found in the meson-logs subdirectory.
@ -190,14 +190,14 @@ test failures.
Install scan-build and configure your project. Then do this:
```console
$ ninja scan-build
$ meson compile scan-build
```
You can use the `SCANBUILD` environment variable to choose the
scan-build executable.
```console
$ SCANBUILD=<your exe> ninja scan-build
$ SCANBUILD=<your exe> meson compile scan-build
```

Loading…
Cancel
Save