Boost logo

Boost-Build :

From: Peter Foley (peter_at_[hidden])
Date: 2007-09-25 18:42:12

Hi Rene,

Thanks for the reply.

> Date: Tue, 25 Sep 2007 08:58:17 -0500
> From: Rene Rivera <grafikrobot_at_[hidden]>
> Peter Foley wrote:
> > Hi,
> >
> > I am looking for some guidance from people who have managed to
> integrate
> > Boost.Build (the MSVC toolset) into Microsoft Visual Studio
> > (specifically Visual C++ 2005).
> >
> > *SNIP*
> >
> I just run: bjam -sBOOST_BUILD=C:/some/path toolset=msvc variant=debug
> -- What are you doing in that bjam_setup.bat? I'm curious because
> tried to remove the need for setups like that.

My bjam_setup.bat simply adds some environment variables. This the
contents of the batch file:


@echo off

SET PATH=%PATH%;E:\dev\tools\bjam\bin
SET BOOST_BUILD_PATH=E:\dev\tools\bjam\070903-nightly


If you take a look at: this will
give a rough guide as to how I have setup my environment.

> > *SNIP*

> > I am unsure what parameters I should pass for the "Rebuild All
> Command
> > Line"? Is this simply a case of passing the clean all parameter?
> You want to use the "-a" option.


> > Also I am interested to know if anyone has configured the Debugging
> > section of the Makefile Property Pages? I vaguely remember that
> someone
> > posted a solution for this but for the life of me I cannot find the
> post
> > in the archives.
> IIRC when I set up the one VS project I left all those alone and just
> made sure the "NMake/Output" is set correctly to the executable
> generated.

Is there a BJAM command that will output this path? Boost.Build appears
to generate the path based on the different compiled options.

> > Is there anything else that people find useful setting up when using
> > Boost.Build with Visual Studio?
> I set the "NMake/Include Search Path" to find the various project
> headers.

Thanks again for your help.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at