OpenMake Meister

GetAntIncludeXML ( @items )

   

This functions generates the include XML tags for Ant, based on a list of files.

 

USAGE:

@includes = GetAntIncludeXML( @items );

@items is a list of filenames to be placed in the include tags.

 

A leading "." and the specified intermediate directory ($main::IntDir) are stripped from the filenames, leaving names relative to the build or base directory according to Ant.

 

RETURNS:

A list of include tags with the embedded item of the form:

 

<include name = "IMAGES\palette_text.gif" />

<include name = "IMAGES\palette_zoom.gif" />

<include name = "AquaMetalTheme.class" />

<include name = "BigContrastMetalTheme.class" />