Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost integration in Visual Studio 2010
From: Jeff Flinn (Jeffrey.Flinn_at_[hidden])
Date: 2013-07-17 08:15:14


On 7/17/2013 2:19 AM, Georg.Kellerer_at_[hidden] wrote:
> Hi,
>
> we’re using boost inour projects and all works fine. Our projects are
> standing under version control in a subversion repository. Our problem
> is that every developper had installed boost in a diferent place. Is
> their a way to get the reference to boost in a user speciffic
> configuration place? At the moment we have a fix path c:\dev\boost… but
> that does not fit for every developpers machine.

Create an environment variable on each developer machine:
BOOSTDIR="c:\dev\boost\...". Then reference this from

"Common Properties | C/C++ | General | Additional Include Directories"
by adding $(BOOSTDIR)

and

"Common Properties | Linker | General | Additional Library Dependencies"
by adding $(BOOSTDIR)\lib.

Don't forget to specify these for both debug and release configurations.

If you have a shared property sheet you can add the above there and have
these settings applied to all projects that use the propertysheet.

Jeff


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