Subject: Re: [Boost-build] Custom generator
From: Juraj IvanÄiÄ (juraj.ivancic_at_[hidden])
Date: 2010-05-15 13:39:32
On 14.5.2010 16:46, mlenger wrote:
> I want to use Boost.Build for calling gsoap parsers that generate cpp- and
> header-files from wsdl-files. IÂ´ve tried adapting the generator examples
> but am becoming more and more desperate. The problem is, that there are one
> or more wsdl-files that are composed into header and implementation files.
> There is no 1-1 relationship between wsdl and cpp or header files but
> rather a arbitrary number of input files and a fixed number of output
> files. Any ideas?
Boost.Build provides composing generator for this purpose. E.g.
import type ;
import generators ;
type.register WSDL : wsdl ;
generators.register-composing gsoap.process-wsdl : WSDL : CPP HPP ;
# here you provide command line which invokes gsoap
# and generates cpp and hpp
echo "WSDLs: $(2)"
echo "Output CPP: $(1)"
echo "Output HPP: $(1)"
This allows using wsdl files as a source for executable or library
import gsoap ;
exe client : client.cpp server.wsdl ;
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