From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-09-25 09:58:17
Peter Foley wrote:
> 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
> Clean Command Line - %some_path%\bjam_setup.bat && %some_path%\bjam.exe
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
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