build system update

This commit is contained in:
Joseph Aquino 2025-12-30 21:51:12 -05:00
parent b5011e7db1
commit a221a5472e
2 changed files with 6 additions and 4 deletions

6
ecc.sh
View File

@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
if [ -z "$1" ] || [ $# -eq 0 ] if [ -z "$1" ] || [ $# -eq 0 ]
then then
./vendor/premake5/premake5 --config=Debug ecc ./third-party/premake5/premake5 --config=Debug ecc
else else
./vendor/premake5/premake5 --config=$1 ecc ./third-party/premake5/premake5 --config=$1 ecc
fi fi

View File

@ -1,9 +1,11 @@
local m = {} local m = {}
local scriptdir = path.getabsolute(path.getdirectory(_SCRIPT)) local scriptdir = path.getabsolute(path.getdirectory(_SCRIPT))
local sfml = require("third-party/build-sfml") local sfml = require("third-party/build-sfml")
local imguisfml = require("third-party/build-imgui-sfml")
local imgui = require("third-party/build-imgui") local imgui = require("third-party/build-imgui")
local imguisfml = require("third-party/build-imgui-sfml")
function m.generateproject(bindir, intdir) function m.generateproject(bindir, intdir)
project "snake" project "snake"