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
we've
> 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
SET BOOST_BUILD_USER_CONFIG=%HOMEDRIVE%%HOMEPATH%\My
Documents\user-config.jam

------------------------------

If you take a look at:
http://svn.boost.org/trac/boost/wiki/Boost_Build_Standalone 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.

Thanks

>
> > 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.

Peter.


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