Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-18 06:44:59


From: "Thomas Witt" <witt_at_[hidden]>
> On Tuesday 18 June 2002 12:58, David Abrahams wrote:
> >
> > However, Whoa: I'm not at all sure I like the idea of making the
options
> > into targets, even NOTFILE targets!
> >
> > That really doesn't seem right to me...
>
> Ok, I tell you what I try to achieve, you show me the right way and I fix
it.

Stick the options in an "on" variable of the command-file target.
Careful, though: some options have elements that require target binding
through SEARCH and LOCATE. You want to be sure not to interfere with that
by pasting the target elemeents to option names. I don't think the change
you're trying to make can be made without careful consideration, or you may
well break something. If you're not sure you know how to do it right, I'd
appreciate it if you would roll back your change and post a patch for
comments.

-Dave

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk