Commit f083274
committed
feat: add mcpp.toml for mcpp build support
Wires mcpplibs.capi.lua into the mcpp build system. The descriptor:
- targets `capi-lua` (lib) at `src/capi/lua.cppm` (override the
default lib-root convention which would look at `src/lua.cppm`),
- depends on the upstream Lua 5.4.7 C library shipped via
mcpp-community/mcpp-index (added 2026-05-09).
mcpp 0.0.3's transitive walker propagates lua's headers into our
compile rule, so the existing `extern "C" { #include <lua.h> ... }`
in `src/capi/lua_headers.h` keeps working with no path tweaking.
Verified locally: `mcpp build` is clean against a fresh `target/`.1 parent 9a8042a commit f083274
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments