mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
a849423096
Rewrites the Terminal class as a GDExtension to be used directly in Godot without a terminal.gd proxy. Breaks a lot of things in its current state (e.g. signals and other functions have not be implemented yet), but does add support for transparent colors and true color inversion. It also seems to be about 4x faster (FPS-wise) than the old version with some basic stress testing. Old source code has been moved to a different directory to be copied over and/or rewritten piece by piece.
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
---
|
|
services:
|
|
javascript:
|
|
build:
|
|
context: .
|
|
dockerfile: javascript.Dockerfile
|
|
user: ${UID_GID}
|
|
volumes:
|
|
- .:/src
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
- |
|
|
cd /src/thirdparty/godot-cpp
|
|
scons platform=javascript target=$${TARGET:-debug} -j$$(nproc)
|
|
cd /src
|
|
scons platform=javascript target=$${TARGET:-debug} -j$$(nproc)
|
|
libuv-linux:
|
|
user: ${UID_GID}
|
|
build:
|
|
context: .
|
|
dockerfile: linux.Dockerfile
|
|
volumes:
|
|
- ./thirdparty/libuv:/libuv
|
|
working_dir: /libuv
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
- |
|
|
target=$${TARGET:-release}
|
|
arch=$${ARCH:-x86_64}
|
|
mkdir build 2>/dev/null ;
|
|
args="-DCMAKE_BUILD_TYPE=$$target \
|
|
-DBUILD_SHARED_LIBS=OFF \
|
|
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE"
|
|
if [[ $$arch == "x86_32" ]]; then
|
|
args="$$args -DCMAKE_SYSTEM_PROCESSOR=i686 -DCMAKE_C_FLAGS=-m32";
|
|
else
|
|
args="$$args -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_C_FLAGS=";
|
|
fi
|
|
pushd build
|
|
cmake .. $$args
|
|
popd
|
|
cmake --build build
|
|
libgodot-xterm-linux:
|
|
user: ${UID_GID}
|
|
build:
|
|
context: .
|
|
dockerfile: linux.Dockerfile
|
|
volumes:
|
|
- .:/godot-xterm
|
|
working_dir: /godot-xterm
|
|
environment:
|
|
- SCONS_CACHE=/scons-cache
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
- |
|
|
scons target=template_$${TARGET:-debug} arch=$${ARCH:-x86_64}
|