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.

Former-commit-id: d8c8b5b272
This commit is contained in:
Leroy Hopson 2020-07-13 11:14:30 +07:00
parent 5cc2b2c718
commit f8412a03f5
30 changed files with 489 additions and 158 deletions

4
dockerfiles/ubuntu Normal file
View file

@ -0,0 +1,4 @@
FROM ubuntu:18.04
RUN apt-get update -y
RUN apt-get install -y build-essential cmake python3 scons
COPY . /src