2024-05-15 00:33:05 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# doto make a check here
|
|
|
|
|
|
|
|
curl -L "https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz" --ssl-no-revoke --output premake.tar.gz
|
|
|
|
tar -xf premake.tar.gz
|
|
|
|
|
|
|
|
chmod +777 premake5 # do we really need this?
|
|
|
|
./premake5 --os=linux generateproto
|
|
|
|
|
|
|
|
# target other than clang?
|
2024-05-15 01:56:37 +08:00
|
|
|
./premake5 --os=linux --cc=clang gmake
|
2024-05-15 00:33:05 +08:00
|
|
|
|
|
|
|
# going into build dir
|
|
|
|
cd GBE_Build
|
|
|
|
# you can select individual or all
|
|
|
|
|
2024-05-15 02:49:39 +08:00
|
|
|
# make config=debug_x32
|
|
|
|
make config=debug_x32 && make config=debug_x64
|
|
|
|
make config=release_x32 && make config=release_x64
|
|
|
|
make config=experimentaldebug_x32 && make config=experimentaldebug_x64
|
|
|
|
make config=experimentalrelease_x32 && make config=experimentalrelease_x64
|
2024-05-15 00:33:05 +08:00
|
|
|
|
|
|
|
cd ..
|