[Gambas-user] Sharing Code Between Projects

PICCORO McKAY Lenz mckaygerhard at ...626...
Wed Jun 7 15:38:52 CEST 2017


2017-06-07 7:33 GMT-04:00 Christof Thalhofer <chrisml at ...3340...>:
> Am 06.06.2017 um 16:13 schrieb alexchernoff:
>> The goal is to edit shared centralised modules and having all
>> projects see the changes.
>
> You can do this by creating a project as library. After you compiled it
> once and mad an executable with Ctrl-Alt-X, all modules and classes with
> the magic word "Export" in the beginning are shared by the library and
> can be used in other projects.
umm i was triying in the past that but not was as expected, i dont
remenber why, i try right now and report feedback here... due i'm in
same problem

>
> You have to choose the library inside the other projects' definition
> dialog (in the IDE).
>
> So you can outsource common code and use it in a lot of projects.
>
> http://gambaswiki.org/wiki/doc/library

umm seems the complication in the past was the locations of the
codes.. all of this have hardcoded paths... in git submodules there-s
no hardcode depends, due submodules can work off-line independen of..

if i moved the library from original path to another path, all the
depends break down..

i'll try and later report feedback

>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list