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

Source Files

With this page, you can add new and existing files to the target you are adding to the project. These source files will be used to build the target.

With the Files to add or create controls you view and select files to add, or specify a file to be created. Select the drive you want to view in the drive list. You can directly type file names and paths into the file name field, including names and paths for files that you want to create. If the file does not exist, you are asked to confirm that you want to create it. In the file list, you can select files, select and display directory contents, or click the first folder icon to display the parent directory. Multiple file selection is supported. Changes to any one of the file name field, the drive list or the file list controls are reflected in the other two controls.

If you want to specify a source file type for the file or files you are adding to the target, select a type from the Type list. If you do not specify one, the source files you add will be built according to their file extension.

Select Relative path to add the file to the configuration file with a path relative to the configuration file directory. Otherwise, the file is added with a full path name. Select Macro source to treat the file as a macro source file when it is added to the configuration file.

Click Add to display the files in the Source files added list.

The Source files added list contains the source files that will be added to the target. Click Remove to delete a selected file from the list. Multiple file selection is supported. Source files that you designate as macros will be preceded by an asterisk.

Click Finish or OK to create the Target.



Project
Configuration File
Macros in C++ Source Files