EGLAR User Library Feature for EGL
changhui 270002CK55 Visits (761)
An EGLAR library is a collection of EGLAR files. When developing a complicated project, there are usually large collection of common resources that needs to be shared among projects in one workspace. The EGLAR library feature shipped with RBD 9.0 is designed for this kind of requirement. It is a symbol that represents a collection of EGLAR files, and it is configurable in the project’s EGL build path. Whenever resources are added to or removed from this variable, all the affected projects’ EGL build path will be updated immediately and rebuilt in the background. This really saves us great time from managing the EGL resources.
Generally there are two steps to enable the EGLAR user library support:
1. Define and edit the EGLAR user library symbols in your preference page
2. Add the EGLAR user library to the related projects’ EGL build path
There are two approaches to open your EGLAR user library preference page.
Figure 1. EGLAR User Library Preference Page
Figure 2. EGLAR User Library Preference Page
Here is a typical scenario to enable the EGLAR user library feature for your EGL projects.
1.In the Project Explorer view, right-click the EGL project that you want to add EGLAR user library to 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 for 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.