diff options
author | Alistair Thomas <astavale@yahoo.co.uk> | 2019-01-09 17:44:18 +0000 |
---|---|---|
committer | Alistair Thomas <astavale@yahoo.co.uk> | 2019-01-09 18:15:57 +0000 |
commit | fb05733983fb06ee3d808c945d4df0050fd3e7bf (patch) | |
tree | fe2125c27289cc6dde261e4a6aed82a4e45a1fce | |
parent | 55e6d3c35e6a70c0294a15e8fa5be1ecdecefb27 (diff) | |
download | meson-fb05733983fb06ee3d808c945d4df0050fd3e7bf.zip meson-fb05733983fb06ee3d808c945d4df0050fd3e7bf.tar.gz meson-fb05733983fb06ee3d808c945d4df0050fd3e7bf.tar.bz2 |
docs: Change sub-headings in Running-Meson.md from == to ## [skip ci]
-rw-r--r-- | docs/markdown/Running-Meson.md | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/docs/markdown/Running-Meson.md b/docs/markdown/Running-Meson.md index c1e95f1..1931bb3 100644 --- a/docs/markdown/Running-Meson.md +++ b/docs/markdown/Running-Meson.md @@ -16,8 +16,7 @@ At the time of writing only a command line version of Meson is available. This means that Meson must be invoked using the terminal. If you wish to use the MSVC compiler, you need to run Meson under "Visual Studio command prompt". -Configuring the source -== +## Configuring the source Let us assume that we have a source tree that has a Meson build system. This means that at the topmost directory has a file called `meson.build`. We run the @@ -85,8 +84,7 @@ generate a Visual studio solution. You can then open the generated solution with Visual Studio and compile it in the usual way. A list of backends can be obtained with `meson --help`. -Environment Variables --- +## Environment Variables Sometimes you want to add extra compiler flags, this can be done by passing them in environment variables when calling meson. See [the reference @@ -100,8 +98,7 @@ Furthermore it is possible to stop meson from adding flags itself by using the `--buildtype=plain` option, in this case you must provide the full compiler and linker arguments needed. -Building the source -== +## Building the source If you are not using an IDE, Meson uses the [Ninja build system](https://ninja-build.org/) to actually build the code. To start the @@ -123,8 +120,7 @@ multiple build directories. Often one of them is used for development (the build). Any configuration can be built just by `cd`'ing to the corresponding directory and running Ninja. -Running tests -== +## Running tests Meson provides native support for running tests. The command to do that is simple. @@ -134,8 +130,7 @@ simple. Meson does not force the use of any particular testing framework. You are free to use GTest, Boost Test, Check or even custom executables. -Installing -== +## Installing Installing the built software is just as simple. @@ -152,16 +147,14 @@ is used like this: DESTDIR=/path/to/staging ninja install -Command line help -== +## Command line help Meson has a standard command line help feature. It can be accessed with the following command. meson --help -Exit status -== +## Exit status Meson exits with status 0 if successful, 1 for problems with the command line or meson.build file, and 2 for internal errors. |