Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-22 10:00:10


On Tuesday 19 July 2005 09:12, Roman Yakovenko wrote:
> Hi. I have next problem. I am developing software on 2 platforms:
> Linux and windows. On Linux boost-build is installed under
> ~/boost_cvs/tools/build/v2, while on windows it installed
> under d:/boost_cvs/tools/build/v2. I want to use single
> boost-build.jam file for both platforms.
> What is the right way to achive this?
> I'd like to know solution that does not
> invoke use of environment variables.

if $(OS) = LINUX
{
boost-build /home/you/boost_cvs/tools/build/v2 ;
}
else
{
boost-build d:/boost_cvs/tools/build/v2 ;
}

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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