4.3. Add Existing Files and Add New File dialogs (Component window)

Note

Do not use Japanese or Korean characters in project filename paths, because they can lead to failure to find the specified libraries.

On Windows, the direction of the slash characters separating directories appears to be reversed. You can enter slash characters in either direction but are displayed as / in all cases. This does not affect operation.

Use these dialogs to add a component, protocol, library, repository, or additional source code to a project:

Note

Repository and LISA files are always processed in the order they occur in the project file (*.sgproj) and sub-repository files (*.sgrepo). You can change the order of files and repositories in the File List view in the Component window by clicking and using the context menu to move the item up or down, or clicking and dragging the item to its new position. See File processing order.

To add a file using the Component window context menu:

  1. Select Components, Protocols, or Files tab in the Component window to select the type of file to add.

    Note

    If you selected the Files tab and you are adding a file at the top level, select the top entry in the list.

    If you are adding a file to an existing repository, select the repository file in the list.

  2. Right-click in the Component window and select Add or Add New from the context menu:

    Add

    The Add Existing File dialog is displayed.

    Navigate to the location of the file and select it.

    Add New

    The Add New File dialog is displayed.

    Navigate to the directory to contain the new file and enter a name for the file.

  3. Click Open to add the file and close the dialog.

If you have added a library file, that is, a file with a .lib or .a extension, you must also specify the build actions and platform for the library. See File/Path Properties dialog.

Note

You can use the Recently selected files dropdown list on the dialog to display files that have been added to other projects. To remove a file from the list, move the mouse cursor over the filename and press the Delete key or right click and select Remove from list from the context menu.

Copyright © 2007-2010 ARM Limited. All rights reserved.ARM DUI 0370K
Non-ConfidentialID110210