List Info

Thread: Re: Visual Studio and Boost Build Integration




Re: Visual Studio and Boost Build Integration
country flaguser name
Australia
2007-09-25 17:42:12
Hi Rene,

Thanks for the reply.

> 
> Date: Tue, 25 Sep 2007 08:58:17 -0500
> From: Rene Rivera <grafikrobotgmail.com>
> 
> 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:devtoolsbjambin
SET BOOST_BUILD_PATH=E:devtoolsbjam70903-nightly
SET BOOST_BUILD_USER_CONFIG=%HOMEDRIVE%%HOMEPATH%My
Documentsuser-config.jam

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

If you take a look at:
http://svn.boost.org/trac/boost/wiki/Boost_Build_Stan
dalone 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.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )