How to build feature-based variants

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:

  1. Add the FEATUREVARIANT keyword in the .mmp file to mark the DLL as a feature variant.

  2. Create a .var file containing the configuration for the variant. For variant file syntax, refer to variant configuration file syntax.

  3. Place the .var file in /epoc32/tools/variant/ variant_name.var .

  4. 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.