Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-13 00:42:43


Hi Gregory,

> We are currently using boost_1_32_0 and I'm trying to write a toolset file
> to enable us to use Roguewave's LEIF xsd2cpp C++ class generator from
> within bjam. (The xsd2cpp command is just a C++ class generator that
> generates C++ class from a respective W3C XSD Schema).

Please post Boost.Build related questions to the jamboost_at_[hidden]
mailining list. You can also access it via newsgroups. See

   http://boost.org/boost-build2/

for the links.

> I'm not having much luck, I've been through the boost build manual,
> samples, etc. and I'm still having problems.
>
> In the end, I would like to be able to write a library rule such as :
>
> lib libclientxml
> :
> schemas.xsd
> ;
>
>
> And have boost run RW's xsd2cpp tool run on the file schemas.xsd and all
> of the resulting cpp files that are generated would be compiled and
> archived in libclientxml.

The biggest question is whether the tool produces files with some specific
names, or files with names depending on the content of source file.

The first case is simple, and the second case can be nontrivial -- how can
we know which files were produced, then?

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk