Target Type

The target type is specified at the top of the xcpj file. For example:


$TARGET_TYPE = "Library"

There are five possible types of target for a given project. The target type is represented in a variable named $TARGET_TYPE which must be defined at the beginning of an .xcpj file and which can take on one of the following double quoted string values:

"Library" is equivalent to either "Static Library" or "Dynamic-Link Library" depending on the value of the xcpp configuation variable defaultToDll.

The builtin variable $TGT_EXTENSION is calculated automatically from the specified target type. This takes on the value "exe" for an application, "lib" for a static library or "dll" for a dynamic link library