Add Files

  1. Select the target where you want to add the new source files in the project view, click on the right mouse button to make the project context menu appear and select Add Source File.

    Or from the main menu, select Project ▸ Add Source File...

  2. You can select another target in the top target chooser button.

  3. In the file chooser below, select the files you want to add. Then click on the Add button to add those files to your project. You can select several files at the same time keeping Ctrl key pressed or using the Shift to select a range of files.

You can add files in sub-directories of the project. Most project formats require the files to be under the project directory. Added source files outside the project directory are automatically copied inside to fulfill this requirement.