[xsd-users] Output

Boris Kolpackov boris at codesynthesis.com
Thu Mar 12 01:32:59 EDT 2009


Hi Chang,

Chang Chen <Chang_Chen at sonic.com> writes:

> Can we generate header files and Source files into different folders? I
> only find --output-dir option.

No, there is no automatic way to do this though it should be trivial
to achieve with a few shell commands. For example, you could place the
generated files into a temporary directory and then move headers and
sources to their respective places, for example,

mv *.cxx ../src/
mv *.hxx ../include/

See also the --file-list* options.

Boris




More information about the xsd-users mailing list