Add a Target

A target groups files together and defines their use. It is used to represent a program, with all its source files as its children or only group data files those should be installed at the same place.

  1. Select the directory where you want to add the new target in the project view, click on the right mouse button to make the project context menu appear and select New Target.

    Or from the main menu, select Project ▸ New Target....

  2. You can select another directory in the bottom directory tree view.

    Enter a target name and select the type of the target in the drop-down list below. Depending on your project backend, various types of target are possible, see at the bottom.

    Target names are typically restricted to letters, digits and the underscore, so it's safer to avoid other characters.

  3. When you have chosen the target name, type and parent, click on the Add button to create this new target.