
On 7/17/2013 2:19 AM, Georg.Kellerer@lfu.bayern.de 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