List Info

Thread: Visual Studio and Boost Build Integration




Visual Studio and Boost Build Integration
country flaguser name
Australia
2007-09-25 08:28:59
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).

I have searched through the archives for previous posts to
the list.
The most notable thread I can find is:
*	
http://lists.boost.org/boost-build/2006/06/13997.php

Based on advice from this thread and from the Boost.Build
manual I have
managed to setup Visual C++ 2005 to use a makefile project
and have
setup the various commands that it calls like:

Build Command Line - %some_path%bjam_setup.bat &&
%some_path%bjam.exe
-d0
Clean Command Line - %some_path%bjam_setup.bat &&
%some_path%bjam.exe
--clean-all

These work.  I can successfully compile a simple hello world
program
(the one mentioned here - http://tinyurl.com/32ydqh) 

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?

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.

Is there anything else that people find useful setting up
when using
Boost.Build with Visual Studio?

Thanks,

Peter. 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Visual Studio and Boost Build Integration
country flaguser name
United States
2007-09-25 08:58:17
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).
> 
> I have searched through the archives for previous posts
to the list.
> The most notable thread I can find is:
> *	
http://lists.boost.org/boost-build/2006/06/13997.php
> 
> Based on advice from this thread and from the
Boost.Build manual I have
> managed to setup Visual C++ 2005 to use a makefile
project and have
> setup the various commands that it calls like:
> 
> Build Command Line - %some_path%bjam_setup.bat
&& %some_path%bjam.exe
> -d0
> Clean Command Line - %some_path%bjam_setup.bat
&& %some_path%bjam.exe
> --clean-all

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.

> These work.  I can successfully compile a simple hello
world program
> (the one mentioned here - http://tinyurl.com/32ydqh) 
> 
> 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 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.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-2]

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