A feature-based variant defines features to which a DLL is sensitive. To build a DLL for a variant configuration of ARMV5, perform the steps outlined below:
Add the FEATUREVARIANT keyword in the .mmp file to mark the DLL as a feature variant.
Create a .var file containing the configuration for the variant. For variant file syntax, refer to variant configuration file syntax.
Place the .var file in /epoc32/tools/variant/ variant_name.var .
Build the DLL for a variant using the abld command.
For example:
abld build armv5.myvar
The DLL is built and placed in the /epoc32/release/armv5/urel folder.