From 0b3d69976819219e71350b6a988d1704fd5f0746 Mon Sep 17 00:00:00 2001 From: talha Date: Thu, 27 Nov 2025 13:18:57 +0500 Subject: Added files to git. Current State: - hot reloading - math library (calcify) - triangle rendering (unbatched) - orthographic projection (no camera) - layer isolation setup (platform vs game) --- build_game.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 build_game.sh (limited to 'build_game.sh') diff --git a/build_game.sh b/build_game.sh new file mode 100755 index 0000000..d917df3 --- /dev/null +++ b/build_game.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +build_path=build +mkdir -p "$build_path" + +include_path=include +include_opts="-I $include_path" + +files="source/game/game.cpp" +build_opts="-fPIC -shared -g -O0" + +build_command="g++ $build_opts $include_opts $files -o $build_path/libgame.so" + +printf "Building game as a shared library\n" +printf "This is the build command:\n" +printf "$build_command\n\n" +$build_command +printf "Build Complete!\n" -- cgit v1.2.3