# #CodeSynthesis XSD # #NOTE: On Linux, the CodeSynthesis XSD executables must be installed manually. #The following installs just the header files required to compile the C++ source code generated by the XSD compiler. #On Linux, the XSD compiler executable will not be installed although it is contained in the same bz2 archive. if (WIN32) ExternalProject_Add ( xsd PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 URL http://codesynthesis.com/download/xsd/3.3/windows/i686/xsd-3.3.0-i686-windows.zip URL_MD5 a9dde6fc50e2fcccafb5e0850d951009 UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX= -P ${CMAKE_CURRENT_LIST_DIR}/install.cmake DEPENDS xerces ) endif (WIN32) if (UNIX) ExternalProject_Add ( xsd PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 URL http://www.codesynthesis.com/download/xsd/3.3/linux-gnu/i686/xsd-3.3.0-i686-linux-gnu.tar.bz2 URL_MD5 b7172b512a66f966e0dff191c2223927 UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX= -P ${CMAKE_CURRENT_LIST_DIR}/install.cmake DEPENDS xerces ) endif (UNIX)