X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=build.sh;h=fad620190cce6a31a17c14c4b1dc5b418e1efe7f;hb=47941822dae18a018c985847b052e70214a3ccc6;hp=5c72dd35a66e20f4e36d67ace43c4e949d53fd9c;hpb=5ecf9cca8b5b9bf876d7e7c7fde03d5b187bb42b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/build.sh b/build.sh index 5c72dd3..fad6201 100755 --- a/build.sh +++ b/build.sh @@ -23,7 +23,7 @@ _windows_asan="" _windows_linksteam="vg/dep/steam/steam_api.dll" _windows_folder="bin/win32" -_options_debugmode="-O0 -ggdb3 -fno-omit-frame-pointer" +_options_debugmode="-O0 -ggdb3 -fno-omit-frame-pointer -rdynamic" _options_release="-O3 -DVG_RELEASE" # Compiler lines @@ -57,7 +57,7 @@ compile_miniaudio(){ # TODO run_game(){ cd $_linux_folder - ./skaterift + ./skaterift --samples=4 cd ./../ } @@ -228,6 +228,11 @@ vg_command(){ test) run_game ;; + gdb) + cd $_linux_folder + gdb -tui ./skaterift + cd ./../ + ;; testserver) run_server ;;