@ -34,7 +34,7 @@ The next thing to display is the list of options that can be set. These include
mesonintrospect.py --buildoptions
mesonintrospect.py --buildoptions
To set the options, use the `mesonconf.py` binary.
To set the options, use the `meson configure` command.
Compilation and unit tests are done as usual by running the `ninja` and `ninja test` commands. A JSON formatted result log can be found in `workspace/project/builddir/meson-logs/testlog.json`.
Compilation and unit tests are done as usual by running the `ninja` and `ninja test` commands. A JSON formatted result log can be found in `workspace/project/builddir/meson-logs/testlog.json`.
@ -102,7 +102,7 @@ The coverage report can be found in the meson-logs subdirectory.
By default the debug build does not use any optimizations. This is the desired approach most of the time. However some projects benefit from having some minor optimizations enabled. GCC even has a specific compiler flag `-Og` for this. To enable its use, just issue the following command.
By default the debug build does not use any optimizations. This is the desired approach most of the time. However some projects benefit from having some minor optimizations enabled. GCC even has a specific compiler flag `-Og` for this. To enable its use, just issue the following command.
```console
```console
$ mesonconf -Dc_args=-Og
$ mesonconfigure -Dc_args=-Og
```
```
This causes all subsequent builds to use this command line argument.
This causes all subsequent builds to use this command line argument.
@ -139,7 +139,7 @@ Then we need to run the program with some representative input. This step depend
Once that is done we change the compiler flags to use the generated information and rebuild.
Once that is done we change the compiler flags to use the generated information and rebuild.