|
Boost : |
From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2007-09-18 12:26:10
Hi !
On Dienstag 18 September 2007, Vladimir Prus wrote:
> David Abrahams wrote:
> >> Just a caution that svn externals are not the panacea they are
> >> made out to be.
> >
> > We've had plenty of those warnings already, but I'm not claiming
> > they're a panacea. I'm only claiming that if you want a directory
> > in your SVN working development copy that has the exact structure
> > of a Boost installation's include directory, svn:externals makes it
> > possible.
>
> And how will you handle header files directly in 'boost' dir?
> svn:externals only work on directories.
Perhaps we can use the Qt4 approach. Qt4 has a general "include"
directory which contains script-generated forward header which simply
#include the real header using relativ paths:
Example:
QTDIR/include/QtCore/qstring.h contains:
#include "../../src/corelib/tools/qstring.h"
and everything works. Trolltech used symlinks in Qt3 where available and
moved the headers on Win32 using some P4 magic, but I think this was a
maintenance nightmare. The current solution is better.
It would be nice if Boost.Build could then automagically create this
forwards instead of using a script...
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold_at_[hidden] ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk