diff --git a/TODO.MD b/TODO.MD index 356bedc..29d1fa2 100644 --- a/TODO.MD +++ b/TODO.MD @@ -4,3 +4,4 @@ - Make web build - Center line - Zoom sensitivity +- Web read/write diff --git a/build_desktop.sh b/build_desktop.sh index 2083143..6bd7d99 100755 --- a/build_desktop.sh +++ b/build_desktop.sh @@ -1,7 +1,26 @@ #!/bin/bash -eu +EXE_NAME="Transformation Visualizer" OUT_DIR="build/desktop" +ASSETS_DIR="src/assets/" + +if [[ -v 1 ]]; then + if [ "$1" = "DEBUG" ]; then + ODIN_FLAGS="-debug" + elif [ "$1" = "RELEASE" ]; then + ODIN_FLAGS="-no-bounds-check -disable-assert -o:size -extra-linker-flags:\"-Wl,--gc-sections,-s\"" + elif [ "$1" = "TEST" ]; then + ODIN_FLAGS="-o:minimal -no-bounds-check -disable-assert -extra-linker-flags:\"-Wl,--gc-sections,-s\"" + else + echo "Usage: