From: Thomas Witt (witt_at_[hidden])
Date: 2002-02-26 11:59:23
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 26 February 2002 16:59, Rene Rivera wrote:
> Don't know about the with-command-file stuff, but defining project wide
> requirements is already supported by the use of "variant". And is the main
> reason I extented the "variant" rule. Your example could be written as such
As you might guess I was not aware of this extension.
> variant TplBase
> variant TplDerived : TplBase
> variant my-debug : TplDerived : ;
> variant my-release : TplDerived : ;
Where comes the debug and release in ?
> exe MyExe
> >I am using template in two projects and it reduces the maintenance work
> >by at least an order of magnitude. Currently template covers only
> >requirements but I think it can be extended to cover build settings to.
> > The need for requirements was just more pressing :-). If this goes in I
> > will happily update the documentation.
> Same reason I did the variant extension :-) It makes it a brease to control
> the settings of the 20 or so disparate targets in my project.
> I'm not sure about your idea of also "globally" specifying the build
> settings. Could explain how that might work? Any advantages over the
> current system?
What templates do is maintain a variable that holds requirements. For each
target prepend eventual template req's to target req's. The idea is to do the
same for build settings.
The advantage I see is that template is more fine grained than variant. Using
variant would mean loads of uneccessary req's(think library-path) for most of
the targets. Furthermore all main-targets in a project have to use the same
variant whereas they are free to select the template.
> -- grafik - Don't Assume Anything
> -- rrivera_at_[hidden] - grafik_at_[hidden]
> -- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
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