[xsd-users] Split generated hxx into smaller ones

Bernhard Rapp bernhard.rapp at student.tugraz.at
Tue Feb 4 11:32:38 EST 2020


Dear Antoine,
ist the option "--file-per-type" what you are looking for?

Best regards,
Bernhard

On 04.02.20 15:10, Antoine Villeret wrote:
> Dear list,
>
> I used xsdcxx with the following command line :
>
> xsdcxx cxx-tree  --std c++11 --output-dir ${DEST_DIR}/common
>  --generate-serialization --generate-any-type
> ./schemas_2_1/common/UBL-CommonAggregateComponents-2.1.xsd
>
> and the generated header is huge (6.4MB) and hard to parse by my IDE
> (QtCreator, I also tried with CLion with even worse result).
>
> I'm wondering if there is a way to split this header into smaller files to
> make code navigation faster ?
>
> Kind regards
> Antoine





More information about the xsd-users mailing list