qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deprecation of in-tree builds


From: Kevin Wolf
Subject: Re: deprecation of in-tree builds
Date: Tue, 31 Mar 2020 14:24:28 +0200
User-agent: Mutt/1.12.1 (2019-06-15)

Am 31.03.2020 um 14:05 hat Peter Maydell geschrieben:
> On Tue, 31 Mar 2020 at 13:02, Kevin Wolf <address@hidden> wrote:
> > Mainly because it allows me to start everything (most importantly: my
> > editor, git and make) from the same directory.
> 
> You can use 'make -C build/whatever' to avoid having to change directory.

Which is about five times as long as 'make'.

I'm not sure what the problem would be with a Makefile in the source
tree that just calls make in the build directory? It's convenient and
doesn't hurt anyone who prefers to work directly in the build directory.

> The odd one out here is configure, where you have to say
>  (cd build/whatever && ../../configure ...)
> I have occasionally wondered if we should add an equivalent to
> make's -C option to configure, but AFAIX autoconf-configures don't
> have it, so it would be an odd non-standardism.

Well, not allowing in-tree builds is an odd non-standardism, too, so I
think some more non-standardisms to make it more bearable wouldn't be
too bad.

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]