Make native library easier to build/use

Makes libtsm a static library rather than dynamic so that it doesn't
have to be installed as a system library on the user's operating system.

Also updates SConstruct to work on more operating systems other than
just NixOS. Adds a number of docker files for building the library on
various distributions (NixOS, Arch Linux, Ubuntu).

Uses a fork of godot-cpp with an updated godot_headers submodule that
includes godotengine/godot_headers#76. We should go back to tracking
https://github.com/godotengine/godot-cpp once the submodule has
been updated in that repo.
This commit is contained in:
Leroy Hopson 2020-07-13 11:14:30 +07:00
parent 78eeacdc22
commit d8c8b5b272
30 changed files with 489 additions and 157 deletions

3
dockerfiles/archlinux Normal file
View file

@ -0,0 +1,3 @@
FROM archlinux:20200908
RUN pacman -Sy --needed --noconfirm base-devel cmake scons
COPY . /src