This class provides a macro to include an XML build file in the metadata of a Haxe class.

The file must be located relative to the directory of the Haxe class that uses this macro.

Static methods

staticxml(?fileName:Dynamic):Dynamic

Adds an XML <include> element to the class's metadata, pointing to a specified build file.

Parameters:

fileName

The name of the XML file to include. Defaults to Build.xml if not provided.

Returns:

An array of fields that are processed during the build.