mirror of https://gitlab.com/ita1024/waf.git
Reduce verbosity in out-of-tree builds
This commit is contained in:
parent
3083f83eb5
commit
dfb3f5be73
|
@ -753,9 +753,11 @@ class BuildContext(Context.Context):
|
||||||
else:
|
else:
|
||||||
ln = self.launch_node()
|
ln = self.launch_node()
|
||||||
if ln.is_child_of(self.bldnode):
|
if ln.is_child_of(self.bldnode):
|
||||||
|
if Logs.verbose > 1:
|
||||||
Logs.warn('Building from the build directory, forcing --targets=*')
|
Logs.warn('Building from the build directory, forcing --targets=*')
|
||||||
ln = self.srcnode
|
ln = self.srcnode
|
||||||
elif not ln.is_child_of(self.srcnode):
|
elif not ln.is_child_of(self.srcnode):
|
||||||
|
if Logs.verbose > 1:
|
||||||
Logs.warn('CWD %s is not under %s, forcing --targets=* (run distclean?)', ln.abspath(), self.srcnode.abspath())
|
Logs.warn('CWD %s is not under %s, forcing --targets=* (run distclean?)', ln.abspath(), self.srcnode.abspath())
|
||||||
ln = self.srcnode
|
ln = self.srcnode
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue