Visual Studio .Net 2003 ( 7.1 ) Solution and Projects for Lua 5.x

I build this with the help of a lua-l list members, help thanks Nicolas Nobel!
And thanks to everyone else on the list that has or will answer one of my questions!

Motivation

I have decided to embed Lua into my game that I am working on. I am using Visual Studio .Net 2003 and needed to be able to build a static library I could link into my code, yet be able to keep up with the latest and greatest Lua version easily.

So I built this project and test harness project and bundled them up into a solution to make everyone's else that wants to do the same thing life easier.

I also include a test harness application project that uses the SimplerCppBinding example to test the static library that the lua project builds.

I have now added another project to build luac using the static library as well. - thanks to Leandro Candido for pointing me in the right direction to figure this out.

Technical Notes

This solution is set up to work with the distribution of  Lua 5.x ( I tested it with 5.0.1 ). Just uncompress the include and src directories into the ones in the lua directory and then load up the solution and compile away.

You can also just simply add the lua project into your own solution, set up the build dependancies and you will always build against the latest version of lua!

In the Release directory of the lua_test project is a lua script and a batch file to run the test harness application.

I have the lua library project set up to build as a multi-threaded dll. Anything that links it in has to be compiled with the same setting or at best you will get a bunch of non-trivial compiler warners and at worst it just won't compile. The settings in your other projects that link into the lua static lib have to match, I tried them all, it seems to work with all the choices as long as they are the same.

Caveats
I am not an expert at Visual Studio and setting up everything, so the settings might be whacked out and not optimal, I would appreaciate anyones feed back on making this better.

I subscribe to the lua-l list so post on there for everyone's benefit.