Table of Contents
Preface
Part 1 – Lua Basics
1
Getting Your C++ Project Lua-Ready
Technical requirements
Compiling the Lua source code
Introducing shell
Building Lua
Building a C++ project with the Lua library
Creating a project to work with the Lua library
Writing the C++ code
Writing the Makefile
Testing the project
Building a C++ project with the Lua source code
Creating a project to work with the Lua source code
Writing the C++ code
Writing the Makefile
Testing the project
Testing the clean target
Executing a simple Lua script
Creating a project
Writing the Makefile
Writing the C++ code
Testing the project
Writing the Lua script
Other toolchain options
Using Visual Studio or Xcode
Using Cygwin
Summary
2
Lua Fundamentals
Technical requirements ...
Get Integrate Lua with C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.