[xsd-users] Code Generation with AutoTools

Steve Sloan steve at finagle.org
Sun Feb 22 20:09:43 EST 2009


Boris Kolpackov wrote:
>> I'm starting a project using XSD, but am having some trouble generating 
>> the C++ (tree) code with AutoTools.  My simplistic approach was just to 
>> add the generated filenames (e.g. Schema.hxx, Schema.cxx) to the 
>> "app_SOURCES" line in Makefile.am, and add a rule to run XSD to create 
>> them from the .xsd file.
> 
> Take a look at Section 9.4, "Built sources" in the automake documentation:
> 
> http://sources.redhat.com/automake/automake.html#Sources

That's exactly what I was looking for, thanks.

-- Steve




More information about the xsd-users mailing list