| |||
Home > ARM Project Manager > Working with project templates > Editing a variable |
A variable holds a value used by either APM or by a build
step pattern to specify a changeable aspect of your project, such
as a filename or directory path. You can set variables for any level
of the project hierarchy. For example, you could set the variable specifying
the C compiler (cc
) to be one tool for the
entire project (cc
=armcc
)
and create a special configuration for a particular source file
(cc
=tcc
).
Follow these steps to edit the variables for a particular level of the project hierarchy:
Select an element from the Project view (for example the Debug variant).
Select Edit Variable from the Project menu. The Edit Variables dialog is displayed (Figure 2.20). The title of the dialog box reflects the scope of the changes that are being made.
Select a variable from the scroll box or type the variable name.
Type the new Value.
If you have additional variables to modify, click Apply to save the change and modify another variable.
When you have completed your changes, exit the dialog:
click OK to save the changes and exit the dialog
click Cancel to abandon any changes not yet applied and exit the dialog.
The following restrictions apply:
Variables prefixed
by $
are read-only and cannot be modified or
deleted.
Variables prefixed by $$
are
reserved for use by APM, but can be modified.
Variables containing a $
(for
example, path$Debug
) have a standard purpose defined
by APM.
Use caution when editing config$xxx
variables,
especially if these contain |
symbols. These
are the internal representation of tool configurations created by the
tools.