For an overview of how to organize your work, see EGL projects, packages,
and files.
To set up a new EGL project, do as follows:
- In the Workbench, do either of the following steps:
- Click File > New > Project; or
- Right-click, then click New > Project.
The New Project wizard opens.
- Expand EGL, then click EGL Project. Click Next.
The New EGL project wizard is displayed.
Note: If
EGL Project is not available, check the Show All Wizards check
box.
- In the Project name field, type a name for the
project. By default, the project is placed in your workspace, but you can
click Browse and choose a different location.
- Select how to specify a build descriptor, which is the part that directs
processing at generation time:
- Create new project build descriptor(s) automatically means
that EGL provides build descriptors and writes them to a build file (extension
.eglbld) that has the same name as the project.
To specify some of the
values in those build descriptors, click Options.
To change those values later, change the build file that is created for you.
For
further details, see Specifying database options at project creation.
- Use build descriptor specified in EGL preference means
that EGL points to a build descriptor that you created and identified as an
EGL preference.
- Select existing build descriptor allows you
to specify a build descriptor from those that are available in your workspace.
- In most cases, click Finish. If you click Next,
however, you can specify other source folders and projects to reference from
the project you are creating. When you have finished selecting other source
folders and projects, click Finish.