Re: Build error on HEAD

From: Robert Collins <robertc@dont-contact.us>
Date: 19 Nov 2002 11:53:22 +1100

On Mon, 2002-11-18 at 00:59, Guido Serassio wrote:

> OK, but please, someone can explain this to me ? What is VPATH ?

In addition to Henriks description, let me add why it's useful:

Say I'm working on the nt port, but I want to make sure I don't break
cygwin, and that the service and non service builds both work well.

So, I can do this many ways:
* reconfigure after every change and rebuild the entire things (ouch).
* Have multiple trees and manually apply the same patch to each (ouch).
* have one source tree, and many build trees all building from the same
source with different options.

ie:
~/source/squid/nt3 <- my nt source tree
~/build/squid/nt3service <- my nt service build tree
~/build/squid/nt3 <- my nt nonservice build tree
~/build/squid/nt3cygwin <- my nt cygwin build tree.

Thus you can see that it's important that autoconf.h is included from
the build tree, not the source tree, to allow this to happen.

Rob

Received on Thu Nov 21 2002 - 10:52:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:47 MST