[xsd-users] cxx-tree Export Symbols Multiple Constants or Generate
Def file via Namespace Map
Laurence Davies
laurence.davies at unsw.edu.au
Mon Oct 6 19:38:38 EDT 2014
Hi all,
Firstly, apologies for the apparent ignorance of my question, I'm very new to both Visual Studio and to XSD (although I am well versed in g++).
I have a very very large schema based on GML which I am extending with a smaller subset of types. I am creating a dll for reading/writing to this schema and I would like to have the option of exporting (via _dllspec or otherwise) *only* the subset I have created plus relevant dependencies in GML rather than *all* of GML. This is because the latter is enormous, and even with precompiled headers this vastly increases the complexity of the product I need to deliver.
I see that --export-symbol= is the option to use for a blanket all-export or all-import switch, but is there a convenient way to export via namespace? I know this is far more complicated than it sounds due to dependencies but I believe VS10C++ will automatically traverse the inheritance/dependency tree to export all required symbols given that a particular leaf class type is exported.
Alternatively, can XSD generate a .def file for this purpose?
Regards,
Laurence
More information about the xsd-users
mailing list