Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26472/wxLua/bindings
Modified Files:
genwxbind.bat
Log Message:
Try to use the lua.exe in the path first
Fix bitlib LUALIB_API to use LUACALL
Index: genwxbind.bat
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.bat,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** genwxbind.bat 7 Jan 2008 19:11:12 -0000 1.11
--- genwxbind.bat 2 Feb 2008 15:39:05 -0000 1.12
***************
*** 3,9 ****
REM The C++ source files are only modified if any changes have been made.
REM @echo on
! SET LUA=..\bin\lua.exe
REM Find a suitable lua.exe to run
IF EXIST ..\bin\gccud_lib\lua.exe SET LUA=..\bin\gccud_lib\lua.exe
IF EXIST ..\bin\gccud_dll\lua.exe SET LUA=..\bin\gccud_dll\lua.exe
--- 3,11 ----
REM The C++ source files are only modified if any changes have been made.
REM @echo on
! SET LUA=lua.exe
REM Find a suitable lua.exe to run
+ IF EXIST ..\bin\lua.exe SET LUA=..\bin\lua.exe
+
IF EXIST ..\bin\gccud_lib\lua.exe SET LUA=..\bin\gccud_lib\lua.exe
IF EXIST ..\bin\gccud_dll\lua.exe SET LUA=..\bin\gccud_dll\lua.exe
***************
*** 76,80 ****
echo Generating wxLuaCan app Binding
cd ..\apps\wxluacan\src
! ..\..\..\bindings\%LUA% -e"rulesFilename=\"wxluacan_rules.lua\"" ../../../bindings/genwxbind.lua
cd ..\..\..\bindings
--- 78,82 ----
echo Generating wxLuaCan app Binding
cd ..\apps\wxluacan\src
! %LUA% -e"rulesFilename=\"wxluacan_rules.lua\"" ../../../bindings/genwxbind.lua
cd ..\..\..\bindings
|