mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 13:11:19 +01:00
24 lines
437 B
Bash
Executable File
24 lines
437 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd build &>/dev/null
|
|
|
|
OPTION=$1
|
|
|
|
if [ "$OPTION" = 'help' ]
|
|
then
|
|
echo build.sh - build debug library
|
|
echo build.sh clean - clean the build
|
|
echo build.sh release - build release library
|
|
elif [ "$OPTION" = "clean" ]
|
|
then
|
|
echo Cleaning project ...
|
|
premake5 clean
|
|
elif [ "$OPTION" = "release" ]
|
|
then
|
|
premake5 gmake2 && make config=release -j7
|
|
else
|
|
premake5 gmake2 && make -j7
|
|
fi
|
|
|
|
popd &>/dev/null
|