Defining an EGLAR library

To add multiple EGLAR files from different folders to a project at once, first create a library to contain all the EGLAR files and then add this library to the project.

About this task

An EGLAR library is a collection of EGLAR files. You define an EGLAR library by adding or removing EGLAR files from it. This library is unique in the workspace. When its definition is changed, all the EGL projects that are referencing this library in the workspace are updated automatically. In this way, you can manage EGLAR files more effectively.

To define an EGLAR library, complete the following steps:

Procedure

  1. In the Project Explorer view, right-click the project that you want to use and then click Properties. The Properties window opens.
  2. Click EGL Build Path to open the EGL Build Path properties page.
  3. On the EGL Build Path properties page, click the EGLAR Files tab.
  4. Click Add Library.
  5. On the Add Library page, click User Libraries.
  6. To add a new library, on the Preferences page, click New.
  7. Provide a name of the new EGLAR library and click OK. The new library is created and listed in the Preferences window.
  8. To add EGLAR files to the library, click Add EGLARs.
  9. Select the EGLAR files that you want to add to this library.
  10. After you finish adding the EGLAR files, click OK. The Preferences window is closed.
  11. The new library is automatically selected on the Add Library page. If you do not want to add this library to the EGL build path, clear the check box.
  12. Click Finish and then OK to close the Properties window.

Feedback