Boost logo

Boost-Build :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-05-24 02:04:53


At 00:43 2005-05-23, Marcel Loose wrote:
>Hi Victor,
>
>The "problem" is that I'm not doing active development on Boost. We are
>using *some* Boost libraries in our project. Now I don't want to
>"litter" our project environment (even with 3rd party software) with
>code that we don't use. I'm among the group of people who believe that
>"less is better"; or to paraphrase Stroustrup: "You don't pay for what
>you don't use". That was the reason for me asking this question.

I wasn't suggesting you put boost in your project at all. From my
perspective boost is almost like the library that my compiler vendor
provides, and it is in a fixed location on all my development machines
(C:\boost (the default install location)). I've added the locations of
the includes and libraries to the global settings of my IDEs (Visual
Studio...both .net2003 and 2005). This way I don't have to worry about
what internal changes may happen in boost (refactoring files, for example);
I just have to worry about the public interface.

IF I need to provide source to go with a project, it's generally quick
enough to build it up from an empty C:\boost\include directory by copying
in the files that can't be found. I'm told that there is a tool (bcp)
which may actually do this for me. Since I just found out about it a
couple weeks ago, I haven't needed to use it yet. Absent that, I suspect
that the compiler's "generate dependencies" system will find them for me.

>Besides, IMHO it makes sense to provide an option to only install those
>header files that you actually use. Why would you only provide an option
>to install *some* object libraries, without providing the option to only
>install the headers associated with those libraries?
>
>Kind regards,
>
>Marcel Loose
>
> >>> vawjr_at_[hidden] 05/22/05 1:05 PM >>>
>At 02:10 2005-05-20, marcel_loose wrote:
> >Hi,
> >
> >I recently posted this question in the boost.user group, but got no
> >replies. Hence, I'll try it in this group, hopefully with better luck.
> >
> >Is it possible to only install a subset of all boost *header files*?
> >More specifically, only the header files that are needed when
> >installing one or more libraries.
> >
> >For example, suppose I only want to use Boost Smart Pointers and
> >Boost.Threads. I would like Bjam to *only* install the header files
> >that are needed for those two libraries, not *all* Boost header
> >files.
>
>I'm confused. If you're developing and using boost (any of it), why
>would
>you want only _some_ of it availalbe. Refactoring while coding
>certainly
>occurs and discovering that the portion of boost you _now_ need isn't
>available seems to me to be quite a showstoppper. Certainly more of a
>problem that simply having one shared copy of all the headers which
>takes
>only 20MB on my latest checkout and install (about 4 hours ago)
>
> > I know that you can and should use the bjam option --with-
> ><library>, but, AFAIK, this only works for the library files, not for
> >the header files. Any help would be appreciated.
> >
> >Kind regards,
> >
> >Marcel Loose.
> >
> >
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
>
>Victor A. Wagner Jr. http://rudbek.com
>The five most dangerous words in the English language:
> "There oughta be a law"
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"

 


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