$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2005-10-06 06:55:05
Hi,
I wondered why the following causes a problem:
local mypath = somepath ;
lib foo : : <file>$(mypath)/Release/foo.lib <variant>release ;
lib foo : : <file>$(mypath)/Debug/foo.lib <variant>debug ;
lib otherlib : [ glob *.cpp ] foo : <link>static ;
bjam appears to complain about their being ambiguity "no best-matching
alternative could be found"
I've done a similar thing where I've got a separate project defining
pre-built libraries (for boost in fact) but then I refer to them from
other jamfiles using /project//target
Ideas? I've tried renaming the debug version, dropping the
"<variant>debug" etc but with no luck.
Thanks
Kevin
-- | Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this | | Senior Technology | My employer for certain | | And Network Systems Architect | Not even myself |