Change a Source or Group Directive's Source Files

Use the Source and Groups page of the Configuration section to add , change, and remove source files from a source or group directive.

To add a source file to a source or group directive:

  1. In the Source and Groups view, select the source or group directive to which you want to add the source file.
  2. In the Change Source and Groups view, type the file name of the source file in the Source entry field, or click Find to select files from your file system. You can select multiple files in the Find dialog box.
  3. Ensure Use Relative Path is selected to add the source file with a path relative to configuration file directory. If you do not select this option, the source will be added with the full path name.
  4. Click Add to add the file to the Files list. The Files list is updated.
  5. To change or remove a file from the Files list, select the file and click Change or Remove. If you want to undo the selections you have made, click Reset.
  6. Click Apply to save the change to the configuration file, and to update the other views in the Configuration section.

To change or remove a file from a source or group directive:

  1. In the Source and Groups view, select the source or group directive that contains the file you want to change or remove.
  2. In the Change Source and Groups view, select the file to be changed or removed from the Files list.
  3. If you are changing the file name, make the changes in the Source field. You can also change whether a relative path is used to specify the file. If the file name is not enclosed in quotes or does not have a file extension, then it is assumed to be a variable which must be already defined in the configuration file.
  4. Click Change or Remove to change or remove the file. The Files list is updated.
  5. Click Apply to save the change to the configuration file, and to update the other views in the Configuration section. To update the views in other sections, you must build the project.


Add or Change Source Files Overview


source Configuration File Directive
group Configuration File Directive