build: build only the compiler and drop the example project

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.
This commit is contained in:
BlackAngelTV committed 2026-11-18 08:48:05 +01:00
1 parent 42e95d08b9
commit d32f73006e
8 files changed
+46 -126

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
// Generated by CMake: paths and flags luacpp bakes in to compile and link the
// C++ it generates for `luacpp run`.
#pragma once
#define LUACPP_RUNTIME_INCLUDE_DIR "@LUACPP_RUNTIME_INCLUDE_DIR@"
#define LUACPP_LUA_CFLAGS "@LUACPP_LUA_CFLAGS@"
#define LUACPP_LUA_LIBS "@LUACPP_LUA_LIBS@"