Adding a Build Source from a File
To add a build source from a file:
In the navigation pane of the Build Management tab, locate and select the build configuration to which you want to add a source.
Make sure the build configuration is checked out.
Expand the build configuration until the Build Targets entry is visible in the project tree. This also causes the Sources section to appear in the content pane.
In the content pane, click the Sources title to make it active.
Click the New Object icon (shaped like a plus sign). The Add New Source dialog box opens.
For File Name or Mask enter the filename of the source file, or the mask specifying wildcards.
For Relative path enter a path to the source that is relative to the project relative path. This restricts the path to the subdirectory that you specify. For example, if the project relative path is C:\Projects\Qlarius\Java and you specify a relative path of Utilities, the path to the source is restricted to C:\Projects\Qlarius\Java\Utilities.
For Build Type enter an item format. For details see Using Item Formats to Control Build Rules.
Click OK. The new source appears in the Sources section.