| |||
| Home > ARM Project Manager > Using APM with C++ > Using the ARM Project Manager C++ Templates | |||
The APM C++ templates provide a number of options for creating C++ source files, header files, and projects.
This section describes how to create new projects based on the C++ project templates. The following general points apply to the templates:
All templates that produce ARM executable images or ARM object libraries are configured to use armcpp to compile C++ source files.
All templates that produce Thumb executable images or Thumb object libraries are configured to use tcpp to compile C++ source files.
All templates that produce executable images use the ARM Debugger for Windows (ADW) as their debugger.
You can convert a non-interworking project to an
interworking project by following the instructions in ARM-Thumb interworking with the ARM
Project Manager. Substitute armcpp for armcc,
and tcpp for tcc.
Libraries must contain either ARM code only, or Thumb code only.
Follow these steps to create a new C++ project:
Select New... from the File menu. The New dialog is displayed (Figure 2.25).
Select Project from the list of options and click OK. The New Project dialog is displayed (Figure 2.26).
Select the type of project you want to create. In addition to the standard options available in SDT 2.50, you can create a project based on the new C++ templates. These are:
ARM C++ Executable Image
Thumb C++ Executable Image
ARM C++ Object Library
Thumb C++ Object Library
Thumb/ARM C++ Interworking Image.
Enter a project name and project directory for the new project.
Click OK. A new project is created for the type of image or library you have chosen.