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

-1
View File
@@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Reuse the compiler from the repository root as a subproject.
set(LUACPP_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(LUACPP_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/.." "${CMAKE_CURRENT_BINARY_DIR}/luacpp")
include("${CMAKE_CURRENT_SOURCE_DIR}/../cmake/lua-package.cmake")