Add or remove a target from a project.
Sébastien Granjoux
seb.sfo@free.fr
Philip Chimento
philip.chimento@gmail.com

# Add or remove targets

If the project backend supports it, you can add or remove targets in your project without editing the project file. A target groups files together. It is typically used to represent a program, with all its source files as its children.

# Add a target

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...

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.

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

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

# Remove a target

Select the target you want to remove in the project view, click on the right mouse button to make the project context menu appear and select Remove.

Confirm the removal. The target and all its properties will be removed from the project file. All its files stay untouched on your hard disk.