Boost logo

Boost-Build :

Subject: Re: [Boost-build] WSDL gsoap generator client/server feature attributes
From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2009-02-23 04:47:20


   Hi Anthony.

> I am writing a custom generator for WSDL source files (which generates
> H/CPP files using the gsoap code generation tool).
>
> I have created a custom feature "gsoap-mode" (possible values
> "client", "server"). I have tried defining this feature as
> "symmetric" and then "propagated". But with both approaches, a
> subvariant directory is created for all libraries within my
> Boost-Build project. This means that these libraries are compiled
> once for each value of "gsoap-mode" even though they are independent
> of the "gsoap-mode" feature (a waste of time and space).
>
> How can I modify the feature attributes (or the generator itself) to avoid this?

   I do not think this is currently possible with Boost Build. It's been
on an imprecise wish list (i.e. the feature has not been completely
defined) for a while now but I do not think any actual work on this has
been done.

   One clumsy workaround is to make each of your projects be built using
a separate Boost Build run and have a separate top level build running
all the actual project builds. As I said = clumsy and too makefile-like
for my taste.

   Another workaround is to look at implementing or at least precisely
definitng this feature in Boost Build. Here's hoping...

   Best regards,
     Jurko Gospodnetić


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