marcobambini / gravity

Gravity Programming Language
https://gravity-lang.org
MIT License
4.3k stars 229 forks source link

export symbols from gravity-executable so native modules can access functions. #373

Open tDwtp opened 3 years ago

tDwtp commented 3 years ago

In #374 I reworked some parts. I now export to lib*.a/*.lib of the executable so people can link against something.

I cleaned up the build-results. If you don't like it, let me know. They are placed depending on the build configuration. /(Configuration)/* if non defined they are placed where they would be expected (/bin and /lib and not split, seemingly randomly to /bin /src /lib) However I would like to split static libraries to /lib and dynamic libraries to /dyn (or something). But I left that out for now.

I reworked the headers, so they can be handed out with one exception: gravity_core.h. They would be very helpful, but are not necessary.

A list of Headders to hand out to developers: