Open fabriciorsf opened 2 months ago
1 - Create a build.bat
@echo off SET CC=gcc SET BIN=libterminal.dll SET CFLAGS=%CFLAGS% -fPIC -Ilib\lite-xl\resources\include\ SET LDFLAGS="-lutil" echo %CC% %CFLAGS% src\*.c %1 %2 %3 -shared -o %BIN% %CC% %CFLAGS% src\*.c %1 %2 %3 -shared -o %BIN%
2 - Run this script using cmd (not pwsh):
git clone --depth=1 https://github.com/adamharrison/lite-xl-terminal.git --recurse-submodules --shallow-submodules cd lite-xl-terminal build.bat -g -O3 -ffast-math cp -R plugins/terminal ~/.config/lite-xl/plugins cp libterminal.dll ~/.config/lite-xl/plugins/terminal
Sure; do you want to submit a PR for this? I'm happy to have it in there.
1 - Create a build.bat
2 - Run this script using cmd (not pwsh):