[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Precompile my Lua Library Code
- From: "Edward Mitchell" <emitchell@...>
- Date: Sun, 6 May 2007 10:07:53 -0400
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