mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
12 lines
400 B
Bash
12 lines
400 B
Bash
(set -o igncr) 2>/dev/null && set -o igncr; # comment is needed on Windows to ignore this lines trailing \r
|
|
|
|
if [ "$(uname)" == "Linux" ]; then
|
|
exit 0
|
|
elif [ "$(uname)" != "Darwin" ]; then
|
|
# Windows has a number of compatibility layers with different uname results.
|
|
EXE=.exe
|
|
fi
|
|
|
|
FOLDER=$(dirname $0)
|
|
$FOLDER/Rendering/ShaderCompiler/ShaderCompiler$EXE /P $FOLDER/shaders glsl glsl3 glsles glsles3
|