feat(cli): create a build directory next to the Lua sources

The generated files landed in a luacpp-build folder named after the script, so
the executable could not be found where a build directory is usually expected.
The default layout is now build/<script> for the binary and build/src for the
generated sources, and the path is printed relative to the working directory.
This commit is contained in:
BlackAngelTV committed 2026-11-18 08:48:05 +01:00
1 parent fbdb3e73ba
commit 1bfbe79cba
3 files changed
+38 -16

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# Build output
build/
luacpp-build/
Demo/build/
# Compiled objects
*.o