[xsd-users] Makefile rules.
Boris Kolpackov
boris at codesynthesis.com
Fri Dec 5 04:05:33 EST 2008
Hi Bill,
We have considered automatically generating makefile dependencies
for a long time now. For some reason nobody seems to be interested
in this feature. Basically, if you have b.xsd include a.xsd, you
will get something like this for b.xsd:
b.hxx b.cxx: b.xsd a.xsd
It will be trivial to do from the XSD compiler. All we need is to
figure out all the little details, e.g.,
- generating only dependencies as well as together with the C++
code
- option to suppress inclusion of imported schemas in the
dependencies
- option to generate do-nothing rules for schemas (so that one
can remove a schema and still run make)
- allow to specify header and schema path prefixes (and probably
regex'es for more advanced transformations)
Let me know if you would be interested in something like this.
Boris
More information about the xsd-users
mailing list