A downloaded release has no checkout to refer to, and the include directory was
baked in at configure time. `luacpp run` now looks for include/luacpp/rt.hpp
beside its own executable and honours LUACPP_INCLUDE before falling back to that
path. CMake gained install rules producing the bin/include/share tree the
tarball is built from.
Compiled programs could only write to the terminal, so the demo editor had no
real window. When CMake finds SDL2 the runtime now exposes a `gui` table and
Demo/guipaint.lua builds a 960x640 editor on top of it.
Frames are collected in Lua, merged into horizontal runs and sent with a single
`gui.rects` call: a full scene goes from 15071 draw calls and 42.9 ms per frame
to 1522 calls and 2.1 ms, and the rendered screenshot stays pixel-identical.
The gitignore came from a generic C++ template in which almost no pattern
applies here, and build/ still held files from the removed example project.
The generated luacpp-build directory is now ignored too.
The example duplicated what Demo already covers, and the run mode needs the
runtime include path and Lua link flags at execution time, so they are baked in
at configure time.
Each Lua module becomes a header/source pair exposing a C++ namespace, so Lua
code can be linked and consumed like any C++ package while keeping the exact
semantics of the official 5.4 VM.