From 3ab117fd522f6e4ba815f531f484620a6f148dd8 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 3 Dec 2016 00:04:34 +0200 Subject: Tell users about mesonconf if they try to run Meson on an existing build dir. --- mesonbuild/mesonmain.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mesonbuild/mesonmain.py') 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: -- cgit v1.1