|
||
abld
command syntax overview
The abld
batch file is used to control all aspects of
building a project. The batch file is created using bldmake
from a
component description file.
abld [ test ]
command [
options ] [ platform [
build [ program ] ] ]
A summary of command, options,
platform, build,
program and test
are given below.
You can use the following commands with abld
:
|
Combines the commands |
|
Removes everything built with |
|
Removes files created by |
|
Copies the exported files to their destinations. |
|
Allows extension makefiles to execute final commands. |
|
Freezes exported functions in a |
|
Displays commands, options, or help about a particular command. |
|
Creates import libraries from the frozen |
|
Creates an assembler listing file for a particular source file. |
|
Creates makefiles or IDE workspaces. |
|
Removes files similar to the |
|
Creates resources files and bitmaps. |
|
Creates the main executable file and also the resources. |
|
Removes executable files which need not be released. |
You can use the following options with abld
:
|
Checks whether the filenames of executables and resource files are compatible for Linux builds. |
|
Generates symbolic debug information for release or debug builds. |
|
Builds unrelated targets on error. |
|
Does not generate symbolic debug information for release or debug builds. |
|
Deletes intermediate files on success. |
|
Displays tools calls as they happen. |
|
Lists all releaseables, which includes executables/map files, resource files and so on. |
|
Specifies the ARM target to build for, overriding other settings. |
|
Marks all DLLs without If this option is not specified, all DLLs are considered to be different in all feature variant builds. |
This specifies the target platform. Possible platforms are:
Build target | Purpose |
---|---|
|
Builds for all platforms. |
|
Builds for ABI v1 for ARMV5 architecture, using ARM RVCT compiler. |
|
Builds for ABI v2 for ARMV5 architecture, using ARM RVCT compiler. |
|
Builds for ABI v2 for ARMV6 architecture, using ARM RVCT compiler. |
|
Builds for ABI v2 for ARMV6 architecture supporting Thumb-2 instruction set, using ARM RVCT complier. |
|
Builds for ABIv2 for ARMv7 architecture supporting Thumb-2 instruction set, using ARM RVCT complier. |
|
Builds Metrowerks CodeWarrior project (importable
|
|
Builds for ABI v2 for ARMV5 architecture, using GNU GCC compiler. |
|
Builds for ABI v2 for ARMV6 architecture, using GNU GCC compiler. |
|
Builds for ABI v2 for ARMv6 architecture supporting Thumb-2 instruction set, using GNU GCC compiler. |
|
Builds for ABI v2 for ARMV7 architecture supporting Thumb-2 instruction set, using GNU GCC compiler. |
|
Generates the XML description of the project and the program, using GCC XML. |
|
Creates project files suitable for opening the project in Microsoft Visual Studio IDE, version Visual C++ v6. |
|
Creates project files suitable for opening the project in Microsoft Visual Studio IDE, version .NET2003. |
|
Builds for Symbian OS emulator on Microsoft Windows, using Metrowerks CodeWarrior compiler. |
If platform is not specified, or is specified as
all
, then abld
will build for all the platforms
specified in the component description file.
Basenames of .mmp
files or extension makefiles must not be
platform names.
If the platform
.variant_name is
specified, then abld
will build a new variant for the specified
platform.
For example, the following abld
command builds the binary
for a variant of ARMV5:
> abld build armv5.myvar
If the variant_name is default, then both the following commands will have the same effect.
> abld build armv5.default
> abld build armv5
This specifies the build type. Possible types are:
|
Debug build |
|
Release build |
|
Debug and release builds |
If build is not specified, or specified as
all
, then abld
will build for both udeb
and urel
.
Basenames of .mmp
files or extension makefiles must not be
build type names.
This specifies the basename of a particular .mmp
file or
extension makefile, in order to limit the command to a single project within a
component.
If program is not specified, then all the projects within the component are built.
If test
is specified before command
, the
command
will build all the projects defined by .mmp
files listed in the prj_testmmpfiles
section of the component
description file, rather than those listed in the prj_mmpfiles
section.
The platform, build, and program parameters are not applicable for certain abld commands.
For example, these parameters are irrelevant for
export
command, as it does not depend on them.
You can use -debug
or -no_debug
options
irrespective of the output build type, that is, UREL
or
UDEB
.
All options are not applicable to all the commands. Wherever applicable, they can be specified in their long or short forms. For example,
-keepgoing
(long form)
or
-k
(short form)
If the variant
name is not specified along with the
platform
, the binary is built for the default configuration.
The test
parameter is not relevant for some commands,
and in those cases, it cannot be specified.
The build platforms ARMV5
and ARMV5_ABIv2
are applicable to Symbian OS versions earlier than 9.4. From Symbian OS v9.4
onwards, the build platforms ARMV5
and ARMV5_ABIv1
generates binaries and libraries conforming to ABIv2 and ABIv1 respectively.