targettype

targettype target-type

Use the targettype statement to specify the kind of project.

The following target types are supported:

Target type Description

ani

A window server animation DLL.

app

A GUI application. This is deprecated at v9.0. Applications must be converted to EXEs.

ctl

A system control. This is deprecated at v9.0. They must be converted to applications.

dll

A DLL: either a shared library, or a polymorphic interface.

ecomiic

An ECOM implementation collection. This is deprecated at v9.0. The plugin target type should be used instead.

epocexe

A Symbian platform executable that can be launched from the shell. This is an executable program which exports no functions under a multi-process platform and a DLL which is linked with the TIntWinsMain() function exported as ordinal 1 under a single-process platform.

exe

An executable program.

exedll

An executable program for a multi-process platform, a DLL for a single-process platform.

exexp

An executable program with exports.

fsy

A plug-in file system.

implib

Results solely in the generation of a .lib file. It is an error for a component of the IMPLIB type to contain SOURCE statements and the build tools enforce this.

kdll

A kernel DLL.

kext

A kernel extension.

klib

A kernel library.

ldd

A logical device driver.

lib

A static library.

mda

A media-server plug-in DLL (deprecated).

mdl

A MIME recognizer. This is deprecated at v9.0, and should be converted to PLUGIN (ECOM).

none

A bitmap or resource file without any executable.

notifier

An extended notifier DLL. This is deprecated at v9.0, and should be converted to PLUGIN (ECOM).

opx

An OPL extension.

plugin

An ECOM implementation collection.

plugin3

An ECOM implementation collection that supports extended interfaces.

pdd

A physical device driver. You can export functions from pdd if you have a .def file specified in the pdd's matching .mmp file.

pdl

A printer driver.

rdl

A recognizer. This is deprecated at v9.0, and should be converted to PLUGIN (ECOM).

stdexe

A P.I.P.S. EXE, which is identified by the following UIDs on a Symbian platform:

  • UID1 - 0x1000007a

  • UID2 - 0x20004C45

stddll

A P.I.P.S. DLL, which is identified by the following UIDs on a Symbian platform:

  • UID1 - 0x10000079

  • UID2 - 0x20004C45

stdlib

A P.I.P.S. static library.

var

A variant file.

Note:

  • For more information about the target types stdexe, stddll and stdlib, refer to Target Types.

  • The target types ecomiic, kdll, kext, klib, ldd, pdd and var are built in ARM mode, as these targets have access to kernel APIs. That is, all the kernel code is built in ARM mode using --arm compiler option, whereas all the user code is built in THUMB mode using --thumb compiler option.

  • The target types stdexe, stddll and stdlib are supported only on ARM ABI and Symbian emulator compliant platforms, such as, ARMv5, ARMv5_ABIv2, GCCE and WINSCW.

  • When exporting functions from the target types, build system can auto generate .def files only for DLL, EXEDLL, EXEXP, and STDDLL target types even if, you do not have a .def file specified in the matching .mmp file.