$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] Most efficient way to alter staging path by variant
From: Jim Gallagher (jim_at_[hidden])
Date: 2008-09-24 11:55:19
I figured it out (I think):
rule my-rule ( properties * )
{
local result ;
if <variant>Foo32 in $(properties)
{
result += <location>$(STAGE)/$(HOST_OS)/Foo32/lib ;
}
if <variant>Bar32 in $(properties)
{
result += <location>$(STAGE)/$(HOST_OS)/Bar32/lib ;
}
etc...
return $(result) ;
}
install stage-proper
: mylib
: <conditional>@my-rule
;
Jim