added tinyfiledialogs as a submodule & updated the build scripts for linux/mac
This commit is contained in:
parent
04a472874d
commit
3dc7d72a50
6 changed files with 16 additions and 7 deletions
0
scripts/build_debug.sh
Normal file → Executable file
0
scripts/build_debug.sh
Normal file → Executable file
4
scripts/build_hot_reload.sh
Normal file → Executable file
4
scripts/build_hot_reload.sh
Normal file → Executable file
|
|
@ -36,10 +36,10 @@ case $(uname) in
|
|||
esac
|
||||
|
||||
# Build the game.
|
||||
odin build . -use-separate-modules -extra-linker-flags:"$EXTRA_LINKER_FLAGS" -show-timings -define:RAYLIB_SHARED=true -build-mode:dll -out:build/game_tmp$DLL_EXT -debug $VET
|
||||
odin build src -use-separate-modules -extra-linker-flags:"$EXTRA_LINKER_FLAGS" -show-timings -define:RAYLIB_SHARED=true -build-mode:dll -out:build/game_tmp$DLL_EXT -debug $VET
|
||||
|
||||
# Need to use a temp file on Linux because it first writes an empty `game.so`, which the game will load before it is actually fully written.
|
||||
mv game_tmp$DLL_EXT game$DLL_EXT
|
||||
mv ./build/game_tmp$DLL_EXT ./build/game$DLL_EXT
|
||||
|
||||
# Do not build the game.bin if it is already running.
|
||||
if ! pgrep game.bin > /dev/null; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue