mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Date:2008-09-17T13:53:28.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@3 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
27 lines
1.3 KiB
Plaintext
27 lines
1.3 KiB
Plaintext
[[Property:title|Using libraries]]
|
|
[[Property:weight|5]]
|
|
There are two kinds of libraries in Eiffel: precompiled Eiffel libraries and C libraries.
|
|
|
|
To use an Eiffel precompiled library:
|
|
* Open the [[Group Options|Project Settings]] dialog.
|
|
* Add a new precompile group to your target.
|
|
* You must [[Generating executables|recompile]] your project from scratch for the changes to take effect.
|
|
|
|
{{note| '''Note''': You can only use one precompiled library at a time in a project. To use more than one, you should precompile all the libraries you want to use together in a single precompiled library. }}
|
|
|
|
To use a C library:
|
|
* Open the [[Externals Options|Project Settings]] dialog.
|
|
* Add an include external for the directory where the header files needed to use the library are.
|
|
* Add an object external for each object file needed to use the library. These files can be either library files (.lib, .a, etc) or object files (.obj, .o, etc)
|
|
* Click '''OK'''.
|
|
* You must [[Generating executables|recompile]] your project for the changes to take effect.
|
|
|
|
{{seealso| '''See Also''' <br/>
|
|
[[Generating libraries|Creating libraries]] <br/>
|
|
[[Adding a cluster|Adding classes and clusters from Eiffel libraries without precompiling the library]] <br/>
|
|
[[C externals|Making C calls in Eiffel]] }}
|
|
|
|
|
|
|
|
|