lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Just to finish this thread off.  I created a custom build step in VS.NET 
2005 with the following command line:

..\bin\lua ..\bin\bin2c.lua "+$(InputFileName)" > 
"$(InputDir)\$(InputName).h"

to create an include file with the Lua byte code.  I had to use the 
$(InputFileName) macro for myLua.lib source since if I used the $(InputPath) 
the backslash escapes from the Windows paths screwed up the strings in the 
include file. I suppose I could have changed the bin2c.lua but I'd always 
prefer to leave well alone.

Ed