diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-03 18:27:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 18:27:29 +0300 |
commit | 2bb03f19fd9842d8c7966336ee967786f8edfbda (patch) | |
tree | 707f00e4b355d30c6d4d0de23e3364bf82b6c35d /docs/markdown/Quick-guide.md | |
parent | 33b79dcf2502420c0db806fece1b35c724366f40 (diff) | |
parent | 276d342ebaf859dd53e145ead3e98e2cebb360ab (diff) | |
download | meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.zip meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.tar.gz meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.tar.bz2 |
Merge pull request #1725 from whot/master
documentation fixes
Diffstat (limited to 'docs/markdown/Quick-guide.md')
-rw-r--r-- | docs/markdown/Quick-guide.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Quick-guide.md b/docs/markdown/Quick-guide.md index 3966084..600120e 100644 --- a/docs/markdown/Quick-guide.md +++ b/docs/markdown/Quick-guide.md @@ -40,7 +40,7 @@ The most common use case of Meson is compiling code on a code base you are worki ```console $ cd /path/to/source/root -$ meson build && cd build +$ meson builddir && cd builddir $ ninja $ ninja test ``` @@ -58,10 +58,10 @@ Distro packagers usually want total control on the build flags used. Meson suppo ```console $ cd /path/to/source/root -$ CFLAGS=... CXXFLAGS=... LDFLAGS=.. meson --prefix /usr --buildtype=plain build -$ ninja -v -C build -$ ninja -C build test -$ DESTDIR=/path/to/staging/root ninja -C build install +$ CFLAGS=... CXXFLAGS=... LDFLAGS=.. meson --prefix /usr --buildtype=plain builddir +$ ninja -v -C builddir +$ ninja -C builddir test +$ DESTDIR=/path/to/staging/root ninja -C builddir install ```` The command line switch `--buildtype=plain` tells Meson not to add its own flags to the command line. This gives the packager total control on used flags. |