diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-03 00:04:34 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-03 00:04:34 +0200 |
commit | 3ab117fd522f6e4ba815f531f484620a6f148dd8 (patch) | |
tree | f82a7a212fe276f83ed1d170c71e9e6458b1d6b7 /mesonbuild/mesonmain.py | |
parent | 3276bdd23d0479eb343b95e80ac0d87475bb3a7e (diff) | |
download | meson-3ab117fd522f6e4ba815f531f484620a6f148dd8.zip meson-3ab117fd522f6e4ba815f531f484620a6f148dd8.tar.gz meson-3ab117fd522f6e4ba815f531f484620a6f148dd8.tar.bz2 |
Tell users about mesonconf if they try to run Meson on an existing build dir.
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r-- | mesonbuild/mesonmain.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 1d4863c..71d42e3 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -115,7 +115,9 @@ class MesonApp(): msg = '''Trying to run Meson on a build directory that has already been configured. If you want to build it, just run your build command (e.g. ninja) inside the build directory. Meson will autodetect any changes in your setup and regenerate -itself as required.''' +itself as required. + +If you want to change option values, use the mesonconf tool instead.''' raise RuntimeError(msg) else: if handshake: |