How do I specify a dependency for a feature?

Uri Moszkowicz via Boost-build <[email protected]> Fri, 16 Oct 2020 12:56:34 -0500
Newsgroups gmane.comp.lib.boost.build
Message-ID <CAMJd5ATRbTY0=V_U68_m_yJBV_-8M6O7QECdpe==XE664dLrVQ@mail.gmail.com>
--===============2317095451379426256==
Content-Type: multipart/alternative; boundary="000000000000e1f4be05b1cd7c7f"

--000000000000e1f4be05b1cd7c7f
Content-Type: text/plain; charset="UTF-8"

Hi,
I'd like to specify a dependency for a feature, like below:

feature.compose <MyFeature>yes :
  <define>MY_FEATURE
  <toolset>gcc-6.0.0:<include>$(dir-6.0.0)/include
  <toolset>gcc-10.0.0:<include>$(dir-10.0.0)/include

Is there a way I can do this with Boost::build?

Thanks,
Uri

--000000000000e1f4be05b1cd7c7f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div>I&#39;d like to specify a dependency for a f=
eature, like below:<div><br></div><div>feature.compose &lt;MyFeature&gt;yes=
 :</div><div>=C2=A0 &lt;define&gt;MY_FEATURE</div><div>=C2=A0 &lt;toolset&g=
t;gcc-6.0.0:&lt;include&gt;$(dir-6.0.0)/include</div><div>=C2=A0 &lt;toolse=
t&gt;gcc-10.0.0:&lt;include&gt;$(dir-10.0.0)/include</div><div><br></div><d=
iv>Is there a way I can do this with Boost::build?</div><div><br></div><div=
>Thanks,</div><div>Uri</div></div>

--000000000000e1f4be05b1cd7c7f--

--===============2317095451379426256==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============2317095451379426256==--