You copied the Doc URL to your clipboard.

Creating a C or C++ project

You can create projects in DS-5 using the New Project dialog box.

To create a new C or C++ Project:


  1. Select File > New > Project... from the main menu.
  2. Expand the C/C++ group.
  3. Select either C Project or C++ Project.
  4. Click on Next.
  5. Enter a Project name, for example, hello_world .
  6. Leave the Use default location option selected so that the project is created in the default folder shown. Alternatively, deselect this option and browse to your preferred project folder.
  7. Select the type of project that you want to create, for example, Executable > Empty Project.

    Figure 4-3 Creating a new C project

    Creating a new C project

  8. Select a Toolchain, for example, Arm Compiler 6 (DS-5 built-in).
  9. Click Finish to create your new project.
You can view the project in the Project Explorer view.


C project
This does not select a source language by default and leaves this decision to the compiler.
C++ project
Selects C++ as the source language by default, regardless of file extension.

In both cases, the source language for the entire project, a source directory or individual source file can be configured in the build configuration settings.