lunes, 18 de abril de 2011

How to beautify C++ generated with EMF Xpand

Just install "Xpand/Xtext additional support" Eclipse plugin from the update site below:

http://download.eclipse.org/modeling/m2t/xpand/updates/releases/

You must also install the C++ Development Tools (CDT). Then, you can invoke a C++ code beatufier from your mwe2 generation workflow. Just add the packages org.eclipse.xpand.support.cdt and org.eclipse.cdt.core as required plug-in in your Xpand project and add the line below in the outlet section when you invoke the Xpand generator:

postprocessor = org.eclipse.xpand.support.cdt.CppBeautifier {}

No hay comentarios:

Publicar un comentario