On Sunday 25 April 2010 20:50:38 Benoît Minisini wrote:
> You have a new tab named "libraries" in the IDE project property dialog. In
> that tab, you can define a list of gambas executables (*.gambas files) that
> will be used as libraries.
>
> When adding a library to a project, the IDE will extract from it all the
> information needed for the automatic completion, as for the normal
> components.
>
> These libraries will be loaded at program startup by the interpreter
> exactly like any component written in Gambas.
>
This is very good.
The *.info and *.list files will be included in the library files?

> But when running the project normally, the library is searched in the
> following directory only:
> - The same directory as the project.
> - /usr/bin
> - /bin
>
> So, a Gambas executable that must act as a library for another program must
> be installed in /bin, /usr/bin, or in the same directory as the program
> using it.

I think it is better to look for libraries in the directories listed in 
GB3_LIBRARY_PATH, and if this variable is not defined 
then "/usr/lib/gambas3:/usr/local/lib/gambas3":~/.local/lib/gambas3



------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to