diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-03 13:34:48 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-03 21:00:36 +1000 |
commit | 276d342ebaf859dd53e145ead3e98e2cebb360ab (patch) | |
tree | b1fc9f5e62bd4a53a2eea9ee9f9b37a3fab805c1 /docs/markdown/Tutorial.md | |
parent | 7ec6e6df2013aa65f99e0183c9d36b3ef3b7ab0e (diff) | |
download | meson-276d342ebaf859dd53e145ead3e98e2cebb360ab.tar.gz |
docs: replace 'meson build' with 'meson builddir'
Clarifies that this is really just a directory, not a command.
https://github.com/mesonbuild/meson/issues/1560
Diffstat (limited to 'docs/markdown/Tutorial.md')
-rw-r--r-- | docs/markdown/Tutorial.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Tutorial.md b/docs/markdown/Tutorial.md index 524861dcf..ae2e38165 100644 --- a/docs/markdown/Tutorial.md +++ b/docs/markdown/Tutorial.md @@ -30,7 +30,7 @@ executable('demo', 'main.c') That is all. We are now ready to build our application. First we need to initialise the build by going into the source directory and issuing the following commands. ```console -$ meson build +$ meson builddir ``` We create a separate build directory to hold all of the compiler output. Meson is different from some other build systems in that it does not permit in-source builds. You must always create a separate build directory. Common convention is to put the default build directory in a subdirectory of your toplevel source directory. @@ -40,7 +40,7 @@ When Meson is run it prints the following output. The Meson build system version: 0.13.0-research Source dir: /home/jpakkane/mesontutorial - Build dir: /home/jpakkane/mesontutorial/build + Build dir: /home/jpakkane/mesontutorial/builddir Build type: native build Project name is "tutorial". Using native c compiler "ccache cc". (gcc 4.8.2) @@ -49,7 +49,7 @@ When Meson is run it prints the following output. Now we are ready to build our code. ``` -$ cd build +$ cd builddir $ ninja ``` @@ -102,7 +102,7 @@ Once you have set up your build directory the first time, you don't ever need to The Meson build system version: 0.13.0-research Source dir: /home/jpakkane/mesontutorial - Build dir: /home/jpakkane/mesontutorial/build + Build dir: /home/jpakkane/mesontutorial/builddir Build type: native build Project name is "tutorial". Using native c compiler "ccache cc". (gcc 4.8.2) |