2021-07-02 05:03:54 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
function compiler() {
|
2021-07-21 10:06:32 +02:00
|
|
|
make clean
|
2021-08-09 01:50:44 +02:00
|
|
|
make RENDER_API=$1 WINDOW_API=$2 AUDIO_API=$3 CONTROLLER_API=$4 TARGET_BITS=$5
|
|
|
|
mv ./build ./build_$6
|
2021-07-31 11:30:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function compiler_no_discord() {
|
|
|
|
make clean
|
|
|
|
make DISCORD_SDK=0
|
|
|
|
mv ./build ./build_no_discord
|
2021-07-02 05:03:54 +02:00
|
|
|
}
|
|
|
|
|
2022-03-02 05:32:33 +01:00
|
|
|
compiler DUMMY DUMMY DUMMY "" 64 dummy_64
|
2021-08-09 01:50:44 +02:00
|
|
|
compiler GL_LEGACY SDL1 SDL1 SDL1 64 legacy_1
|
|
|
|
#compiler GL SDL1 SDL1 SDL1 64 gl_1
|
|
|
|
#compiler D3D11 DXGI SDL1 SDL1 64 d3d11_1
|
|
|
|
#compiler D3D12 DXGI SDL1 SDL1 64 d3d12_1
|
2021-07-02 05:03:54 +02:00
|
|
|
|
2021-08-09 01:50:44 +02:00
|
|
|
compiler GL_LEGACY SDL2 SDL2 SDL2 64 legacy_2
|
|
|
|
compiler GL SDL2 SDL2 SDL2 64 gl_2
|
|
|
|
compiler D3D11 DXGI SDL2 SDL2 64 d3d11_2
|
|
|
|
compiler D3D12 DXGI SDL2 SDL2 64 d3d12_2
|
|
|
|
|
|
|
|
compiler GL SDL2 SDL2 SDL2 32 gl_2_32
|
2021-07-31 11:30:10 +02:00
|
|
|
|
|
|
|
compiler_no_discord
|