I am Charmie

メモとログ

2014-04-22から1日間の記事一覧

CodeSynthesis XSD installation

CodeSynthesis XSD is an XML Schema to C++ data binding compiler, which generates C++ classes representing given xsd file(s) as a pair of cxx and hxx files. We can either build by ourselves or install using package manager, see here. To ins…

Xerces-C++ XML Parser installation

Xerces-C++ XML parser is an XML parser for C++. This library is also required for using code synthesis XSD. The library provides instruction for a href="http://xerces.apache.org/xerces-c/install-3.html">installation and build. [sourcecode …

Expat installation

Expat is an XML parser library for C. Expat is required library for using code synthesis XSD. [sourcecode language="bash"] wget downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz tar -xvzf expat-2.1.0.tar.gz mkdir expat…

CodeSynthesis XSD

Here is an instruction how to use XSD with CMake. Following the first solution by Brad Howes, we need to prepare the following CMakeLists.txt as well as FindXercesC.cmake and FindXSD.cmake.