Dynamic library builder
In order to facilitate the creation of C dynamic libraries using EiffelStudio, a wizard helps generate the definition files used to define the contents of the shared library. If for some reason you need to override the wizard, the syntactic rules of the definition files are available, but their knowledge is not necessary to use the generation of dynamic libraries in EiffelStudio.
The wizard is accessible in the Tools/ Dynamic library builder menu.
The dynamic library window that appears when selecting this menu is mainly composed of a list which contains all features that should be exported. This list is course empty at first.
To add a new feature to the definition file, you can either:
- Pick the feature from any place in EiffelStudio and drop it into the list. If several creation procedures exists in the container class, a dialog is popped up to give the choice between all possible creation procedures.
- Or, use the Add command in the Edit/ Add menu. This pops up a dialog where it is possible to enter manually all parameters for the exported feature.
It is also possible to check the validity of the definition file. This command performs both a global check, to ensure that for example two features do not have the same name or same index in the library, and also local checks, that check for each feature that the parameters are valid.
- Parent <Dynamic library generation>