gbe_fork/build_linux_premake.sh

19 lines
448 B
Bash
Raw Normal View History

2024-05-15 00:33:05 +08:00
#!/usr/bin/env bash
2024-05-20 19:35:22 +08:00
chmod +777 third-party/common/win/premake/premake5
./third-party/common/win/premake/premake5 --os=linux genproto
2024-05-15 00:33:05 +08:00
# target other than clang?
2024-05-20 19:35:22 +08:00
./third-party/common/win/premake/premake5 --os=linux --cc=clang gmake2
2024-05-15 00:33:05 +08:00
# going into build dir
2024-05-20 19:35:22 +08:00
cd build/project/gmake2/linux
2024-05-15 00:33:05 +08:00
# you can select individual or all
2024-05-15 02:49:39 +08:00
# make config=debug_x32
2024-05-20 19:35:22 +08:00
make config=debug_x32
make config=debug_x64
make config=release_x32
make config=release_x64
2024-05-15 00:33:05 +08:00
cd ..