Subject: Re: [Boost-build] Confused with conditional rule
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-09-23 07:49:34
On Friday, September 23, 2011 15:02:20 Dmitry Timoshenko wrote:
> Thank you for the answer and your time.
> So, as I realized the right solution may look like this?
> rule use-complex-xml-properties ( properties * )
> if --use-complex-xml in [ modules.peek : ARGV ] ||
> <define>UNICOMM_USE_COMPLEX_XML in $(properties)
> return <library>/smart//smart_data <define>UNICOMM_USE_COMPLEX_XML ;
Yes, that looks right to me.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: 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