EDT:Compiler Settings Introduction
EDT compiler settings introduction
For the compilers, currently EDT 0.7 only has the EDT Compiler and it is the default compiler in the EDT 0.7, so users do not need care about the compilers.
EDT also allows you to specify the compiler and generators settings at the project or package level. The settings in the parent will be inherited by the children if they are not changed by user. It might seem like configuring the compiler and generators would not be an easy task for you. But fortunately, in most cases, you can follow the default compiler settings created by the New EGL Project wizard, and you won't need to configure them manually if you follow the usage of conventions for packages.
In the project creation wizard (File > New > EGL Project), 4 types of project templates are available, as shown in the picture below. The 2nd project template is only for a sample, so actually the wizard provides 3 kinds of project templates.
You can check the compiler and generators settings by right-clicking Projects orPackages > Properties > EGL Compiler. Also, you can specify whether the project or package is allowed to change the settings in this window. Please refer to below screen-shot the compiler settings for a package.
Web 2.0 client application
Web 2.0 client application with services
A project created by this template will have 3 packages; you can put the EGL source files to different packages depending on the purpose of each file. For example, if a type is referenced in both the client and server packages, then the type should be put into the common package.
- the server package is configured with the Java generator
Set default compiler and generator setting for your workspace