Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Change Source and Groups View

Use this view to update the source files defined in source and group directives in your configuration file. Source directives, and group directives used in source directives, identify the source files used to build your application. With this view, you can add, update, and delete the source files used in your application. You can also update the name of group directives, which are a special local variables used to represent one or more source files.

Click Apply, to save the changes to the configuration file, and to the update the other Configuration section views. Click Reset to restore the directive back to how its defined in the configuration file.

The contents of this view change depending on the type of input object. When the input object is a source directive, set the type for the source directive in the Type field. Click the arrow beside the field to display a list of possible types. The type selected overrides the usual method of determining the file type from the file suffix. If the type you want is not in the list, you can type your own type in the entry field.

When the input object is a group directive, set the name for the group directive in the Group field.

For both directives, type the filenames you want to add to the directive in the Source field. 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. You can enter multiple file names separated by commas.

Click Find to select one or more files from your file system. Click Add to add the file in the entry field to the Files list below. Click Remove to delete the selected file from the Files list. Selecting a file from the Files list displays it in the Source entry field. Click Change to update the Files list with changes from the Source field. If no files are selected, and nothing is typed into the Source entry field, the Add, Change, and Remove buttons are disabled.

Ensure Use Relative Path is selected to use a path relative to the configuration file directory for the source file. If this option is not selected, a full path name is used.

The Files list can be collapsed and expanded using the plus and minus sign controls. Click mouse button 2 on an object or the view background to display a pop-up menu that contains actions. These actions include:

If you want help on another aspect of the IDE interface, more IDE interface help is available.



Add or Change Source Files Overview