lua/def_gen.bat

20 lines
384 B
Batchfile
Raw Normal View History

2025-02-13 12:59:20 +08:00
@echo off
setlocal
:: ����·��
set EXPORT_DIR=export
set MLUA_EXE=%EXPORT_DIR%\mlua.exe
set BUILD_BIN=build\bin
set GENDEF_EXE=%BUILD_BIN%\gendef.exe
set FS_LIB=fs\lib.cxx
if not exist %EXPORT_DIR% (
mkdir %EXPORT_DIR%
)
copy /Y %BUILD_BIN%\mlua.exe %MLUA_EXE%
2025-02-13 13:40:51 +08:00
%GENDEF_EXE% %FS_LIB% lua_fs %EXPORT_DIR%
2025-02-13 13:29:41 +08:00
copy /Y %BUILD_BIN%\lua_fs.dll %EXPORT_DIR%
2025-02-13 12:59:20 +08:00
echo �������ɡ�
endlocal
pause