Boost logo

Boost Users :

From: Miguel Angel Lopez Font (malfont_at_[hidden])
Date: 2006-05-30 03:19:24


Sebastian Redl wrote:
> David Abrahams wrote:
>
>
>>>I selected to install the libraries for Visual C++ 8.0, but I still
>>>had to put manually into C++ Options Dialog the directories to boost includes, libs and
>>>binaries. Shouldn't this be done by setup?
>>>
>>>
>>
>>I'm not sure if there's a way to do that, and even then, would it
>>really be appropriate to force those settings on all of a user's
>>projects?
>>
>>
>
> These settings are not per-project in VS, at least not typically (I'm
> not sure whether per-project include paths are even possible).

Yes, you can set both paths in Project/Properties...

        C/C++ -> Additional Include Directories
        Linker -> Additional Library Directories

> Neither
> do they hurt, in particular not with Boost, where all headers are in a
> subdirectory. On the other hand, you _have_ to add the include and
> library paths, or else hard-code the full path to the Boost includes in
> the include file names. Nobody does that.

Well, they can hurt, when using cretain tools (i.e.: Visual Assist)
those header which are set under Tools/options are considered "stable"
and they are less frequently scanned/parsed for changes

I think it should be an option in the installer, if that isn't too much
trouble.

It would be nice to set some enviroment variable like BOOST_INSTALLDIR
in the installer so you could do:

        $(BOOST_INSTALLDIR)/libs or $(BOOST_INSTALLDIR)/include

in Project/Properties , and be done with it. This will allow different
people working in the same project to use the same project files even if
they install boost to a different directory.
-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL.

The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net