Build Lua for Windows using Visual Studio 2013 is a very straightforward task.
Project to build lua.exe:
- Create Project > Visual C++ > Empty Project
- Add Existing Item ...
- Select all files under src except luac.c
- Project Property > All Configurations > Configuration Properties > C/C++ > Preprocessor > Preprocess Definitions, add: _CRT_SECURE_NO_WARNINGS
That is it.
To build luac.exe, simply repeat above steps. When selecting files, select all files, except lua.c.
No comments:
Post a Comment