- [NEW] Ajustada la compilació en Windows
- [FIX] Ficades les dll en l'arrel del zip
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@ source = *.cpp ./lua/*.c
|
|||||||
|
|
||||||
windows:
|
windows:
|
||||||
@echo off
|
@echo off
|
||||||
g++ $(source) icon.res -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL3 -lopengl32 -mwindows -o "$(executable).exe"
|
g++ $(source) icon.res -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL3 -lopengl32 -static-libstdc++ -static-libgcc -lpthread -mwindows -o "$(executable).exe"
|
||||||
strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe"
|
strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe"
|
||||||
|
|
||||||
windows_debug:
|
windows_debug:
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ make windows_debug || exit /b 1
|
|||||||
echo Creando paquetes...
|
echo Creando paquetes...
|
||||||
|
|
||||||
REM Crear ZIP release con mini.exe + DLLs
|
REM Crear ZIP release con mini.exe + DLLs
|
||||||
tar -a -c -f mini_%PARAM%_windows_release.zip mini.exe bin\*.dll || exit /b 1
|
tar -a -c -f mini_%PARAM%_win32-x64_release.zip mini.exe *.dll || exit /b 1
|
||||||
|
|
||||||
REM Crear ZIP debug solo con mini_debug.exe
|
REM Crear ZIP debug solo con mini_debug.exe
|
||||||
tar -a -c -f mini_%PARAM%_windows_debug.zip mini_debug.exe bin\*.dll || exit /b 1
|
tar -a -c -f mini_%PARAM%_win32-x64_debug.zip mini_debug.exe *.dll || exit /b 1
|
||||||
|
|
||||||
echo Paquetes generados:
|
echo Paquetes generados:
|
||||||
echo mini_%PARAM%_windows_release.zip
|
echo mini_%PARAM%_win32-x64_release.zip
|
||||||
echo mini_%PARAM%_windows_debug.zip
|
echo mini_%PARAM%_win32-x64_debug.zip
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ echo "=== Subiendo artefactos ==="
|
|||||||
|
|
||||||
for f in mini_v${VERSION}_linux_release.tar.gz \
|
for f in mini_v${VERSION}_linux_release.tar.gz \
|
||||||
mini_v${VERSION}_linux_debug.tar.gz \
|
mini_v${VERSION}_linux_debug.tar.gz \
|
||||||
mini_v${VERSION}_windows_release.zip \
|
mini_v${VERSION}_win32-x64_release.zip \
|
||||||
mini_v${VERSION}_windows_debug.zip
|
mini_v${VERSION}_win32-x64_debug.zip
|
||||||
do
|
do
|
||||||
echo "Subiendo $f..."
|
echo "Subiendo $f..."
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
|
|||||||
Reference in New Issue
Block a user