From 276d342ebaf859dd53e145ead3e98e2cebb360ab Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 3 May 2017 13:34:48 +1000 Subject: 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 --- docs/markdown/Tutorial.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/markdown/Tutorial.md') 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) -- cgit v1.2.3